add follows to docs
This commit is contained in:
parent
5d3a5724f9
commit
cf6de782e0
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
|
@ -29,6 +29,8 @@ You can use this library to get tweets, profiles, and trends trivially.
|
||||||
- [Get profile](#get-profile)
|
- [Get profile](#get-profile)
|
||||||
- [Search profile](#search-profile)
|
- [Search profile](#search-profile)
|
||||||
- [Get trends](#get-trends)
|
- [Get trends](#get-trends)
|
||||||
|
- [Get following](#get-following)
|
||||||
|
- [Get followers](#get-followers)
|
||||||
- [Connection](#connection)
|
- [Connection](#connection)
|
||||||
- [Proxy](#proxy)
|
- [Proxy](#proxy)
|
||||||
- [HTTP(s)](#https)
|
- [HTTP(s)](#https)
|
||||||
|
|
@ -332,6 +334,30 @@ profiles, cursor, err := scraper.FetchSearchProfiles("taylorswift13", 20, cursor
|
||||||
trends, err := scraper.GetTrends()
|
trends, err := scraper.GetTrends()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Get following
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Requires authentication!
|
||||||
|
|
||||||
|
500 requests / 15 minutes
|
||||||
|
|
||||||
|
```golang
|
||||||
|
var cursor string
|
||||||
|
users, cursor, err := testScraper.FetchFollowing("Support", 20, cursor)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Get followers
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Requires authentication!
|
||||||
|
|
||||||
|
50 requests / 15 minutes
|
||||||
|
|
||||||
|
```golang
|
||||||
|
var cursor string
|
||||||
|
users, cursor, err := testScraper.FetchFollowers("Support", 20, cursor)
|
||||||
|
```
|
||||||
|
|
||||||
## Connection
|
## Connection
|
||||||
|
|
||||||
### Proxy
|
### Proxy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue