Skip to content

Commit

Permalink
fix users_by_ids method
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorhobenshield committed Jun 3, 2023
1 parent 8828115 commit 4e7fc1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion twitter/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4e7fc1f

Please sign in to comment.