Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil25803 committed May 18, 2024
1 parent 08d6350 commit 0d92a28
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions dev-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1745,3 +1745,20 @@ atcode.get_profile()
| `.get_profile()` | Returns the user data in json format. |

---

## Pinterest

First create an object of class `Pinterest`.

```python
from scrap_up import Pinterest

pinterest = Pinterest()
```

| Methods | Details |
| --------------------------- | ------------------------------------------------------------ |
| `.get_today()` | Returns the list of today's topics |
| `.get_photo(your_url)` | Returns the link to the image (so you don't need an account) |
| `.search_pins(keyword)` | Search for pins containing a specific keyword on Pinterest |
| `.get_pin_details(pin_url)` | Fetch details about a specific pin on Pinterest |
8 changes: 4 additions & 4 deletions src/scrape_up/pinterest/pinterest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
class Pinterest:
"""
Create an instance of `Pinterest` class.
```python
pinterest = Pinterest()
```
| Methods | Details |
```python
pinterest = Pinterest()
```
| Methods | Details |
| ---------------------- | ------------------------------------------------------------------ |
| `.get_today()` | Returns the list of today's topics |
| `.get_photo(your_url)` | Returns the link to the image (so you don't need an account) |
Expand Down

0 comments on commit 0d92a28

Please sign in to comment.