getanyapi 0.7.0__tar.gz → 0.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {getanyapi-0.7.0 → getanyapi-0.7.1}/PKG-INFO +1 -1
- {getanyapi-0.7.0 → getanyapi-0.7.1}/pyproject.toml +1 -1
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/__init__.py +1 -1
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/twitter.py +19 -19
- {getanyapi-0.7.0 → getanyapi-0.7.1}/.gitignore +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/README.md +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_account.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_async_client.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_client.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_errors.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_pagination.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/_transport.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/__init__.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/ahrefs.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/airbnb.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/alibaba.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/amazon.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/apollo.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/appstore.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/bluesky.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/booking.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/coinmarketcap.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/congress.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/dexscreener.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/douyin.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/ebay.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/email.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/facebook.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/fiverr.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/github.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/glassdoor.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/google.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/google_ads.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/google_finance.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/google_shopping.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/hackernews.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/indeed.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/instagram.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/linkedin.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/maps.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/pandaexpress.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/person.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/pinterest.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/playstore.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/polymarket.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/realtor.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/reddit.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/redfin.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/rednote.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/sec.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/semrush.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/seo.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/snapchat.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/social.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/spotify.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/substack.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/threads.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/tiktok.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/tiktok_shop.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/tripadvisor.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/trustpilot.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/truthsocial.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/upwork.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/walmart.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/web.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/weibo.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/whatsapp.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/yahoo_finance.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/yelp.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/youtube.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/zhihu.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/platforms/zillow.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/py.typed +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/src/getanyapi/types.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/conftest.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_account.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_client.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_envelope.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_errors.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_fixture_roundtrip.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_fixture_sweep.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_pagination.py +0 -0
- {getanyapi-0.7.0 → getanyapi-0.7.1}/tests/test_transport.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: getanyapi
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Official typed Python SDK for AnyAPI: any API, one wallet, USD, no subscriptions.
|
|
5
5
|
Project-URL: Homepage, https://getanyapi.com
|
|
6
6
|
Project-URL: Documentation, https://getanyapi.com/docs
|
|
@@ -109,16 +109,16 @@ class TwitterTweetTranscriptInput(TypedDict, total=False):
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
class TwitterUserTweetsInput(TypedDict, total=False):
|
|
112
|
-
"""Input for Twitter User Tweets."""
|
|
112
|
+
"""Input for X / Twitter User Tweets and Replies."""
|
|
113
113
|
|
|
114
114
|
cursor: NotRequired[str]
|
|
115
|
-
"""
|
|
115
|
+
"""Reserved for cursor-capable lanes. The current bulk lane returns nextCursor as null, so omit this field."""
|
|
116
116
|
handle: Required[str]
|
|
117
117
|
"""Twitter/X handle without the leading @."""
|
|
118
118
|
limit: NotRequired[int]
|
|
119
|
-
"""
|
|
119
|
+
"""Maximum number of authored tweets and replies to return in the current bulk call (1-1000). The provider may return fewer results. Range: 1 to 1000. Default: 20."""
|
|
120
120
|
requireSinglePage: NotRequired[bool]
|
|
121
|
-
"""
|
|
121
|
+
"""Compatibility flag for requiring one response. The current lane already returns up to limit results in one bulk call, whether this is omitted or true."""
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
class TwitterCommunityData(BaseModel):
|
|
@@ -414,7 +414,7 @@ class TwitterUserTweetsData(BaseModel):
|
|
|
414
414
|
next_cursor: str | None = Field(
|
|
415
415
|
default=None,
|
|
416
416
|
alias="nextCursor",
|
|
417
|
-
description="
|
|
417
|
+
description="Reserved pagination cursor. The current bulk lane returns null; cursor-capable lanes may return an opaque continuation value in the future.",
|
|
418
418
|
)
|
|
419
419
|
tweets: list[TwitterUserTweetsTweet] = Field(
|
|
420
420
|
description="Populated whenever the provider has data for the entity."
|
|
@@ -726,14 +726,14 @@ class TwitterNamespace:
|
|
|
726
726
|
options: RequestOptions | None = None,
|
|
727
727
|
**input: Unpack[TwitterUserTweetsInput],
|
|
728
728
|
) -> RunResult[TwitterUserTweetsData]:
|
|
729
|
-
"""Twitter User Tweets
|
|
729
|
+
"""X / Twitter User Tweets and Replies
|
|
730
730
|
|
|
731
|
-
Get
|
|
732
|
-
(
|
|
733
|
-
|
|
734
|
-
|
|
731
|
+
Get up to the requested limit of tweets and replies authored by an X
|
|
732
|
+
(Twitter) account in one bulk call, with engagement, views, and language.
|
|
733
|
+
The current lane returns nextCursor as null; cursor is reserved for future
|
|
734
|
+
cursor-capable lanes.
|
|
735
735
|
|
|
736
|
-
Price: $0
|
|
736
|
+
Price: $0 per request plus $0.0002 per result (maximum $0.2).
|
|
737
737
|
|
|
738
738
|
Example:
|
|
739
739
|
res = client.twitter.user_tweets(handle="levelsio", limit=20)
|
|
@@ -749,7 +749,7 @@ class TwitterNamespace:
|
|
|
749
749
|
options: RequestOptions | None = None,
|
|
750
750
|
**input: Unpack[TwitterUserTweetsInput],
|
|
751
751
|
) -> Paginator[TwitterUserTweetsTweet, TwitterUserTweetsData]:
|
|
752
|
-
"""Iterate Twitter User Tweets results, following pagination cursors.
|
|
752
|
+
"""Iterate X / Twitter User Tweets and Replies results, following pagination cursors.
|
|
753
753
|
|
|
754
754
|
Yields validated `TwitterUserTweetsTweet` items from the `tweets` field of
|
|
755
755
|
each page. Use `.pages()` on the returned paginator to walk whole
|
|
@@ -1045,14 +1045,14 @@ class AsyncTwitterNamespace:
|
|
|
1045
1045
|
options: RequestOptions | None = None,
|
|
1046
1046
|
**input: Unpack[TwitterUserTweetsInput],
|
|
1047
1047
|
) -> RunResult[TwitterUserTweetsData]:
|
|
1048
|
-
"""Twitter User Tweets
|
|
1048
|
+
"""X / Twitter User Tweets and Replies
|
|
1049
1049
|
|
|
1050
|
-
Get
|
|
1051
|
-
(
|
|
1052
|
-
|
|
1053
|
-
|
|
1050
|
+
Get up to the requested limit of tweets and replies authored by an X
|
|
1051
|
+
(Twitter) account in one bulk call, with engagement, views, and language.
|
|
1052
|
+
The current lane returns nextCursor as null; cursor is reserved for future
|
|
1053
|
+
cursor-capable lanes.
|
|
1054
1054
|
|
|
1055
|
-
Price: $0
|
|
1055
|
+
Price: $0 per request plus $0.0002 per result (maximum $0.2).
|
|
1056
1056
|
|
|
1057
1057
|
Example:
|
|
1058
1058
|
res = client.twitter.user_tweets(handle="levelsio", limit=20)
|
|
@@ -1068,7 +1068,7 @@ class AsyncTwitterNamespace:
|
|
|
1068
1068
|
options: RequestOptions | None = None,
|
|
1069
1069
|
**input: Unpack[TwitterUserTweetsInput],
|
|
1070
1070
|
) -> AsyncPaginator[TwitterUserTweetsTweet, TwitterUserTweetsData]:
|
|
1071
|
-
"""Iterate Twitter User Tweets results, following pagination cursors.
|
|
1071
|
+
"""Iterate X / Twitter User Tweets and Replies results, following pagination cursors.
|
|
1072
1072
|
|
|
1073
1073
|
Yields validated `TwitterUserTweetsTweet` items from the `tweets` field of
|
|
1074
1074
|
each page. Use `.pages()` on the returned paginator to walk whole
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|