diff --git a/setup.py b/setup.py index 5d30950..68ea83c 100644 --- a/setup.py +++ b/setup.py @@ -14,16 +14,13 @@ setup( name="twitter-api-client", - version="0.8.5", + version="0.8.6", python_requires=">=3.10.10", description="Twitter API", long_description=dedent(''' ## Implementation of Twitter's v1, v2, and GraphQL APIs - Tools include: [Scraping](#scraping), [Account Automation](#automation), [Search](#search) - - Automated email challenge solvers are supported for **Proton Mail** accounts using [proton-python-client](https://github.com/ProtonMail/proton-python-client). See [here](#automated-solvers) for more information. ## Table of Contents diff --git a/twitter/scraper.py b/twitter/scraper.py index 8492b5b..7e798c9 100644 --- a/twitter/scraper.py +++ b/twitter/scraper.py @@ -113,7 +113,7 @@ def users_by_id(self, user_ids: list[int], **kwargs) -> list[dict]: def tweet_stats(self, user_ids: list[int], **kwargs) -> list[dict]: return self._run(Operation.TweetStats, user_ids, **kwargs) - def users_by_rest_ids(self, user_ids: list[int], **kwargs) -> list[dict]: + def users_by_ids(self, user_ids: list[int], **kwargs) -> list[dict]: return self._run(Operation.UsersByRestIds, batch_ids(user_ids), **kwargs) def recommended_users(self, user_ids: list[int] = None, **kwargs) -> dict: