getanyapi 0.95.3__tar.gz → 0.96.0__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.95.3 → getanyapi-0.96.0}/PKG-INFO +1 -1
- {getanyapi-0.95.3 → getanyapi-0.96.0}/pyproject.toml +1 -1
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/__init__.py +1 -1
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/reddit.py +3 -13
- {getanyapi-0.95.3 → getanyapi-0.96.0}/.gitignore +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/README.md +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_account.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_async_client.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_client.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_errors.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_idempotency.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_pagination.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/_transport.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/discovery_types.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/__init__.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/ahrefs.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/airbnb.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/alibaba.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/amazon.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/apollo.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/appstore.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/bluesky.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/booking.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/capterra.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/chatgpt.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/coinmarketcap.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/company.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/company_enrichment.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/company_identify.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/company_search.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/congress.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/contact_enrichment.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/douyin.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/ebay.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/email.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/email_finding.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/email_verification.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/facebook.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/fiverr.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/g2.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/gemini.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/github.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/glassdoor.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/google.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/google_ads.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/google_finance.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/google_hotels.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/google_shopping.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/hackernews.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/indeed.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/instagram.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/job_search.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/linkedin.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/maps.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/mobile_phone.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/naver.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/nextdoor.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/people_search.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/perplexity.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/person.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/person_enrichment.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/pexels.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/pinterest.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/playstore.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/polymarket.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/property_records.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/realtor.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/redfin.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/rednote.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/sec.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/semrush.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/seo.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/similarweb.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/snapchat.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/social.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/spotify.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/substack.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/technographics.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/threads.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/tiktok.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/tiktok_shop.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/tripadvisor.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/trustpilot.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/truthsocial.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/twitter.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/unsplash.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/upwork.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/walmart.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/web.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/weibo.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/yahoo_finance.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/yelp.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/youtube.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/zhihu.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/platforms/zillow.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/py.typed +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/src/getanyapi/types.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/conftest.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_account.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_client.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_durable_requests.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_envelope.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_errors.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_fixture_roundtrip.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_fixture_sweep.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_not_found_reason.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_pagination.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/tests/test_transport.py +0 -0
- {getanyapi-0.95.3 → getanyapi-0.96.0}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: getanyapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.96.0
|
|
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
|
|
@@ -115,9 +115,7 @@ class RedditSearchInput(TypedDict, total=False):
|
|
|
115
115
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. Minimum: 1."""
|
|
116
116
|
query: Required[str]
|
|
117
117
|
"""Free-text search across all of Reddit. Reddit's field operators are supported inside the string: subreddit:<name> to scope to one subreddit, author:<user>, title:<text>, selftext:<text>, self:yes|no, nsfw:yes|no, and boolean AND/OR/NOT. To restrict to a single subreddit you can use subreddit:<name> here, or use the reddit.subreddit_posts SKU for a plain subreddit listing."""
|
|
118
|
-
requireFields: NotRequired[
|
|
119
|
-
list[Literal["authorId", "isArchived", "isLocked", "media", "nsfw"]]
|
|
120
|
-
]
|
|
118
|
+
requireFields: NotRequired[list[Literal["isArchived", "isLocked", "media"]]]
|
|
121
119
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `media`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted."""
|
|
122
120
|
sort: NotRequired[Literal["relevance", "hot", "top", "new", "comments"]]
|
|
123
121
|
"""Result sort order."""
|
|
@@ -159,13 +157,7 @@ class RedditSubredditPostsInput(TypedDict, total=False):
|
|
|
159
157
|
"""Page size to ask for (up to 100). Some sources honor it; others always return their whole page of about 25 posts. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this response ended. Range: 1 to 100. Default: 25."""
|
|
160
158
|
preferLatencyUnderMs: NotRequired[int]
|
|
161
159
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. Minimum: 1."""
|
|
162
|
-
requireFields: NotRequired[
|
|
163
|
-
list[
|
|
164
|
-
Literal[
|
|
165
|
-
"authorId", "isArchived", "isLocked", "nsfw", "selftext", "upvoteRatio"
|
|
166
|
-
]
|
|
167
|
-
]
|
|
168
|
-
]
|
|
160
|
+
requireFields: NotRequired[list[Literal["isArchived", "isLocked", "selftext"]]]
|
|
169
161
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted."""
|
|
170
162
|
sort: NotRequired[Literal["hot", "new", "top"]]
|
|
171
163
|
"""Listing sort order. Default: hot."""
|
|
@@ -190,9 +182,7 @@ class RedditSubredditSearchInput(TypedDict, total=False):
|
|
|
190
182
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. Minimum: 1."""
|
|
191
183
|
query: NotRequired[str]
|
|
192
184
|
"""Optional search query to match posts (e.g. 'push ups')."""
|
|
193
|
-
requireFields: NotRequired[
|
|
194
|
-
list[Literal["authorId", "isArchived", "isLocked", "selftext"]]
|
|
195
|
-
]
|
|
185
|
+
requireFields: NotRequired[list[Literal["isArchived", "isLocked", "selftext"]]]
|
|
196
186
|
"""Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `isArchived` or `selftext`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted."""
|
|
197
187
|
sort: NotRequired[Literal["relevance", "hot", "top", "new", "comments"]]
|
|
198
188
|
"""Optional sort order: relevance, hot, top, new, comments."""
|
|
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
|
|
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
|