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)
|
||||
- [Search profile](#search-profile)
|
||||
- [Get trends](#get-trends)
|
||||
- [Get following](#get-following)
|
||||
- [Get followers](#get-followers)
|
||||
- [Connection](#connection)
|
||||
- [Proxy](#proxy)
|
||||
- [HTTP(s)](#https)
|
||||
|
|
@ -332,6 +334,30 @@ profiles, cursor, err := scraper.FetchSearchProfiles("taylorswift13", 20, cursor
|
|||
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
|
||||
|
||||
### Proxy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue