Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil25803 committed May 17, 2024
1 parent 32b96a3 commit c372e98
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 118 deletions.
52 changes: 26 additions & 26 deletions dev-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ user = github.Users(username="nikhil25803")
| `.star_count()` | Returns the number of stars of a user. |
| `.get_yearly_contributions()` | Returns the number of contributions made in 365 days frame. |
| `.get_repositories()` | Returns the list of repositories of a user. |
| `.get_starred_repos()` | Returns the list of starred repositories of a user. |
| `.pul_requests()` | Returns the number of pull requests opened in a repository. |
| `.get_starred_repos()` | Returns the list of starred repositories of a user. |
| `.pul_requests()` | Returns the number of pull requests opened in a repository. |
| `.get_followers()` | Returns the list of followers of a user. |
| `.get_following_users()` | Returns the list of users followed by a user. |
| `.get_achievements()` | Returns the list of achievements of a user. |
Expand Down Expand Up @@ -712,8 +712,8 @@ Create an instance of `Video` class.
video = Video(video_url="video_url")
```

| Methods | Details |
| --------------- | ------------------------ |
| Methods | Details |
| --------------- | ------------------------- |
| `.getDetails()` | Returns the video details |

## Scrape Channel Details
Expand Down Expand Up @@ -1173,10 +1173,10 @@ user = Codechef(id="username")

```

| Methods | Details |
| --------------- | ------------------------------------------------------------------------- |
| `get_profile()` | Returns name, username, profile_image_link, rating, details etc. |
| `get_contests()`| Returns future_contests , past_contests , skill_tests etc in json format. |
| Methods | Details |
| ---------------- | ------------------------------------------------------------------------- |
| `get_profile()` | Returns name, username, profile_image_link, rating, details etc. |
| `get_contests()` | Returns future_contests , past_contests , skill_tests etc in json format. |

---

Expand Down Expand Up @@ -1427,14 +1427,14 @@ Create an instance of `FIDE` class.
obj = fide.FIDE()
```

| Methods | Details |
| ------------------------- | -------------------------------------------------- |
| `.get_events()` | Returns all the major chess events of 2024. |
| `.get_open_ratings()` | Returns a list of top 100 open category players. |
| `.get_women_ratings()` | Returns a list of top 100 women category players. |
| `.get_juniors_ratings()` | Returns a list of top 100 juniors category players.|
| `.get_girls_ratings()` | Returns a list of top 100 girls category players. |
| `.get_news()` | Returns a list of top chess/fide news. |
| Methods | Details |
| ------------------------ | --------------------------------------------------- |
| `.get_events()` | Returns all the major chess events of 2024. |
| `.get_open_ratings()` | Returns a list of top 100 open category players. |
| `.get_women_ratings()` | Returns a list of top 100 women category players. |
| `.get_juniors_ratings()` | Returns a list of top 100 juniors category players. |
| `.get_girls_ratings()` | Returns a list of top 100 girls category players. |
| `.get_news()` | Returns a list of top chess/fide news. |

# Magic Bricks

Expand Down Expand Up @@ -1677,42 +1677,42 @@ First create an object of class `Dictionary`.
| `.get_word_of_the_day()` | Returns the word of the day. |
| `.word_of_the_day_definition()` | Returns the definition of the word of the day. |

--------

---

#### AmbitionBx
#### AmbitionBx

Create an directory with name ambitonbox
created a python which consist the code for scarping the website
created a python which consist the code for scarping the website

```python
# Example usage
from scrape_up import ambitionBox

num_pages_to_scrape = 2
num_pages_to_scrape = 2

scraper = ambitionBox.Comapiens(num_pages_to_scrape)

scraper.scrape_companies()

```

| Methods | Details |
| --------------- | ----------------------------------------------------------------------------- |
| Methods | Details |
| --------------------- | ----------------------------------------- |
| `.scrape_companies()` | Returns the company name with the rating. |

---

## Geeksforgeeks

First create an object of class `Geeksforgeeks`.

```python
geeksforgeeks = Geeksforgeeks(user="username")
```

| Methods | Details |
| ------------------------------- | ---------------------------------------------- |
| `.get_profile()` | Returns the user data in json format. |
| Methods | Details |
| ---------------- | ------------------------------------- |
| `.get_profile()` | Returns the user data in json format. |

---

Expand Down
124 changes: 50 additions & 74 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ Create an object of class `Contest`.
hackerank = hackerrank.Contest()
```

| Methods | Details |
| --------------------- | ------------------------------------------------------------------- |
| `active_contests()` | Returns information on active contests like title, status, and link.|
| `archived_contests()` | Returns information regarding archived contests. |
| Methods | Details |
| --------------------- | -------------------------------------------------------------------- |
| `active_contests()` | Returns information on active contests like title, status, and link. |
| `archived_contests()` | Returns information regarding archived contests. |

---

Expand All @@ -300,12 +300,12 @@ Create an instance of `Hashnode` class.
blogs = hashnode.Hashnode()
```

| Methods | Details |
| ----------------- | ------------------------------------------------------------------------------------------------------ |
| `.get_feed()` | Returns the blogs with title, descriptions, author, read time, like and comment count, date, and link. |
| `.get_featured()` | Returns the featured blogs with title, descriptions, author, like and comment count, date, and link. |
| `.get_recent()` | Returns the recent blogs with title, descriptions, author, like and comment count, date, and link. |
| `.search(topic)` | Returns the blogs with title, descriptions, author, like and comment count, date, and link for a topic.|
| Methods | Details |
| ----------------- | ------------------------------------------------------------------------------------------------------- |
| `.get_feed()` | Returns the blogs with title, descriptions, author, read time, like and comment count, date, and link. |
| `.get_featured()` | Returns the featured blogs with title, descriptions, author, like and comment count, date, and link. |
| `.get_recent()` | Returns the recent blogs with title, descriptions, author, like and comment count, date, and link. |
| `.search(topic)` | Returns the blogs with title, descriptions, author, like and comment count, date, and link for a topic. |

---

Expand Down Expand Up @@ -361,14 +361,14 @@ Create an instance of `Questions` class.
questions = askubuntu.Questions("topic")
```

| Methods | Details |
| --------------------------- | ---------------------------------------------------------------------------------------------------- |
| `.getNewQuestions()` | Returns the new questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getActiveQuestions()` | Returns the active questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getUnansweredQuestions()` | Returns the unanswered questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getBountiedQuestions()` | Returns the bountied questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getFrequentQuestions()` | Returns the frequently asked questions, views, votes, answer counts, and descriptions in JSON format.|
| `.getHighScoredQuestions()` | Returns the most voted questions, views, votes, answer counts, and descriptions in JSON format. |
| Methods | Details |
| --------------------------- | ----------------------------------------------------------------------------------------------------- |
| `.getNewQuestions()` | Returns the new questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getActiveQuestions()` | Returns the active questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getUnansweredQuestions()` | Returns the unanswered questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getBountiedQuestions()` | Returns the bountied questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getFrequentQuestions()` | Returns the frequently asked questions, views, votes, answer counts, and descriptions in JSON format. |
| `.getHighScoredQuestions()` | Returns the most voted questions, views, votes, answer counts, and descriptions in JSON format. |

---

Expand Down Expand Up @@ -421,13 +421,13 @@ Create an instance of the `CovidInfo` class.
response = covidinfo.CovidInfo()
```

| Methods | Details |
| -------------------- | --------------------------------------------------------------- |
| `.covid_data()` | Returns the list of all covid data scraped from the website. |
| `.total_cases()` | Returns the count of total covid cases all over the world. |
| `.total_deaths()` | Returns the count of deaths covid cases all over the world. |
| `.total_recovered()` | Returns the count of recovered covid cases all over the world. |
| `.latest_news()` | Return the latest news of the day. |
| Methods | Details |
| -------------------- | -------------------------------------------------------------- |
| `.covid_data()` | Returns the list of all covid data scraped from the website. |
| `.total_cases()` | Returns the count of total covid cases all over the world. |
| `.total_deaths()` | Returns the count of deaths covid cases all over the world. |
| `.total_recovered()` | Returns the count of recovered covid cases all over the world. |
| `.latest_news()` | Return the latest news of the day. |

---

Expand Down Expand Up @@ -473,15 +473,15 @@ Create an instance of `Dribbble` class.
shots = dribbble.Dribbble()
```

| Methods | Details |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `.get_shots()` | Returns the latest shots along with their title, designer, designer URL, like and view count, and link. |
| `.search(topic)` | Returns the latest shots along with their title, designer, designer URL, like and view count, and link for the searched topic. |
| `.get_animation()` | Returns the latest animation along with their title, designer, designer URL, like and view count, and link. |
| `.get_branding()` | Returns the latest branding along with their title, designer, designer URL, like and view count, and link. |
| `.get_illustration()` | Returns the latest illustration along with their title, designer, designer URL, like and view count, and link. |
| `.get_mobile()` | Returns the latest mobile shots along with their title, designer, designer URL, like and view count, and link. |
| `.get_webdesign()` | Returns the latest web-design shots along with their title, designer, designer URL, like and view count, and link. |
| Methods | Details |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `.get_shots()` | Returns the latest shots along with their title, designer, designer URL, like and view count, and link. |
| `.search(topic)` | Returns the latest shots along with their title, designer, designer URL, like and view count, and link for the searched topic. |
| `.get_animation()` | Returns the latest animation along with their title, designer, designer URL, like and view count, and link. |
| `.get_branding()` | Returns the latest branding along with their title, designer, designer URL, like and view count, and link. |
| `.get_illustration()` | Returns the latest illustration along with their title, designer, designer URL, like and view count, and link. |
| `.get_mobile()` | Returns the latest mobile shots along with their title, designer, designer URL, like and view count, and link. |
| `.get_webdesign()` | Returns the latest web-design shots along with their title, designer, designer URL, like and view count, and link. |

---

Expand Down Expand Up @@ -528,29 +528,6 @@ espn = espn.ESPN()

---

### FIDE

```python
from scrape_up import fide
```

Create an instance of `FIDE` class.

```python
obj = fide.FIDE()
```

| Methods | Details |
| ------------------------- | -------------------------------------------------- |
| `.get_events()` | Returns all the major chess events of 2024. |
| `.get_open_ratings()` | Returns a list of top 100 open category players. |
| `.get_women_ratings()` | Returns a list of top 100 women category players. |
| `.get_juniors_ratings()` | Returns a list of top 100 juniors category players.|
| `.get_girls_ratings()` | Returns a list of top 100 girls category players. |
| `.get_news()` | Returns a list of top chess/fide news. |

---

### eBay

```py
Expand Down Expand Up @@ -631,9 +608,9 @@ Create an instance of `FlipkartLaptops` class.
item = flipkart.FlipkartLaptops()
```

| Methods | Details |
| ------------ | ---------------------------------------- |
| `.laptops()` | Returns the list of laptops with details.|
| Methods | Details |
| ------------ | ----------------------------------------- |
| `.laptops()` | Returns the list of laptops with details. |

---

Expand All @@ -649,10 +626,10 @@ Create an instance of `Flyrobu` class.
flyrobu = flyrobu.Flyrobu()
```

| Methods | Details |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| `.search(keyword)` | Returns the json data of all the details related to search by informing about the total amount of items found. |
| `.get_product_details(product_name)` | Returns the json data of the product details based on the given `product_name`. |
| Methods | Details |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| `.search(keyword)` | Returns the json data of all the details related to search by informing about the total amount of items found. |
| `.get_product_details(product_name)` | Returns the json data of the product details based on the given `product_name`. |

---

Expand Down Expand Up @@ -729,9 +706,9 @@ Create an instance of `Celeb` class.
celeb = imdb.Celeb()
```

| Methods | Details |
| --------------- | ------------------------------------------------------ |
| `.top_celebs()` | Returns the name, roles, and famous movie of the celeb.|
| Methods | Details |
| --------------- | ------------------------------------------------------- |
| `.top_celebs()` | Returns the name, roles, and famous movie of the celeb. |

#### IMDB - Indian Movies

Expand All @@ -741,9 +718,9 @@ Create an instance of `IndianMovies` class.
indianmovies = imdb.IndianMovies()
```

| Methods | Details |
| ---------------------- | --------------------------------------------- |
| `.top_indian_movies()` | Returns the current list of top Indian movies.|
| Methods | Details |
| ---------------------- | ---------------------------------------------- |
| `.top_indian_movies()` | Returns the current list of top Indian movies. |

#### IMDB - Box Office

Expand All @@ -753,7 +730,6 @@ Create an instance of `BoxOffice` class.
boxoffice = imdb.BoxOffice()
```

| Methods | Details |
| --------------- | ------------------------------------------------------------------------------ |
| `.top_movies()` | Returns the top box office movies, weekend and total gross, and weeks released.|

| Methods | Details |
| --------------- | ------------------------------------------------------------------------------- |
| `.top_movies()` | Returns the top box office movies, weekend and total gross, and weeks released. |
2 changes: 1 addition & 1 deletion src/scrape_up/espncricinfo/espncricinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ def get_livescores(self):
live_scores.append(match_details)
return live_scores
except:
return live_scores
return live_scores
2 changes: 1 addition & 1 deletion src/scrape_up/fide/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .fide import FIDE

__all__ = ["FIDE"]
__all__ = ["FIDE"]
Loading

0 comments on commit c372e98

Please sign in to comment.