Skip to content

Commit

Permalink
add verified_followers endpoint #121; add subscriptions endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Feb 10, 2024
1 parent 6114ebe commit cd04ed9
Show file tree
Hide file tree
Showing 20 changed files with 53,908 additions and 51,269 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ update-mocks:
@rm -rf ./tests/mocked-data/raw_*.json
twscrape user_by_id --raw 2244994945 | jq > ./tests/mocked-data/raw_user_by_id.json
twscrape user_by_login --raw xdevelopers | jq > ./tests/mocked-data/raw_user_by_login.json
twscrape followers --raw --limit 10 2244994945 | jq > ./tests/mocked-data/raw_followers.json
twscrape following --raw --limit 10 2244994945 | jq > ./tests/mocked-data/raw_following.json
twscrape followers --raw --limit 10 2244994945 | jq > ./tests/mocked-data/raw_followers.json
twscrape verified_followers --raw --limit 10 2244994945 | jq > ./tests/mocked-data/raw_verified_followers.json
twscrape subscriptions --raw --limit 10 44196397 | jq > ./tests/mocked-data/raw_subscriptions.json
twscrape tweet_details --raw 1649191520250245121 | jq > ./tests/mocked-data/raw_tweet_details.json
twscrape tweet_replies --limit 1 --raw 1649191520250245121 | jq > ./tests/mocked-data/raw_tweet_replies.json
twscrape retweeters --raw --limit 10 1649191520250245121 | jq > ./tests/mocked-data/raw_retweeters.json
Expand Down
18 changes: 9 additions & 9 deletions tests/mocked-data/raw_favoriters.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
}
},
"fast_followers_count": 0,
"favourites_count": 6001,
"favourites_count": 6013,
"followers_count": 898,
"friends_count": 2634,
"friends_count": 2636,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 2,
Expand Down Expand Up @@ -182,15 +182,15 @@
},
"fast_followers_count": 0,
"favourites_count": 697,
"followers_count": 28,
"followers_count": 29,
"friends_count": 17,
"has_custom_timelines": false,
"is_translator": false,
"listed_count": 0,
"location": "",
"media_count": 0,
"name": "amanshivamanupam",
"normal_followers_count": 28,
"normal_followers_count": 29,
"pinned_tweet_ids_str": [
"1755481487674101951"
],
Expand Down Expand Up @@ -886,15 +886,15 @@
},
"fast_followers_count": 0,
"favourites_count": 98732,
"followers_count": 17863,
"friends_count": 19636,
"followers_count": 17861,
"friends_count": 19635,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 2,
"location": "Aracaju Sergipe Brasil",
"media_count": 365,
"name": "Pedro Vasconcelos🎶",
"normal_followers_count": 17863,
"normal_followers_count": 17861,
"pinned_tweet_ids_str": [],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/81217433/1672402393",
Expand Down Expand Up @@ -1076,15 +1076,15 @@
},
"fast_followers_count": 0,
"favourites_count": 476,
"followers_count": 89,
"followers_count": 90,
"friends_count": 341,
"has_custom_timelines": false,
"is_translator": false,
"listed_count": 0,
"location": "๊USA",
"media_count": 1,
"name": "rajibelena",
"normal_followers_count": 89,
"normal_followers_count": 90,
"pinned_tweet_ids_str": [],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/2843756880/1705349988",
Expand Down
Loading

0 comments on commit cd04ed9

Please sign in to comment.