getanyapi 0.94.2__tar.gz → 0.94.4__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.94.2 → getanyapi-0.94.4}/PKG-INFO +1 -1
- {getanyapi-0.94.2 → getanyapi-0.94.4}/pyproject.toml +1 -1
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/__init__.py +1 -1
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/amazon.py +5 -5
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/booking.py +2 -2
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/google_hotels.py +4 -4
- {getanyapi-0.94.2 → getanyapi-0.94.4}/.gitignore +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/README.md +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_account.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_async_client.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_client.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_errors.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_idempotency.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_pagination.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/_transport.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/discovery_types.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/__init__.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/ahrefs.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/airbnb.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/alibaba.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/apollo.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/appstore.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/bluesky.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/capterra.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/chatgpt.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/coinmarketcap.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/company.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/company_enrichment.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/company_identify.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/company_search.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/congress.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/contact_enrichment.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/douyin.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/ebay.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/email.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/email_finding.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/email_verification.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/facebook.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/fiverr.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/g2.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/gemini.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/github.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/glassdoor.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/google.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/google_ads.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/google_finance.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/google_shopping.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/hackernews.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/indeed.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/instagram.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/job_search.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/linkedin.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/maps.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/mobile_phone.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/naver.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/nextdoor.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/people_search.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/perplexity.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/person.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/person_enrichment.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/pexels.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/pinterest.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/playstore.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/polymarket.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/property_records.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/realtor.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/reddit.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/redfin.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/rednote.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/sec.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/semrush.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/seo.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/similarweb.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/snapchat.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/social.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/spotify.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/substack.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/technographics.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/threads.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/tiktok.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/tiktok_shop.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/tripadvisor.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/trustpilot.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/truthsocial.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/twitter.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/unsplash.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/upwork.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/walmart.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/web.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/weibo.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/yahoo_finance.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/yelp.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/youtube.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/zhihu.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/platforms/zillow.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/py.typed +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/src/getanyapi/types.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/conftest.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_account.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_client.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_durable_requests.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_envelope.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_errors.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_fixture_roundtrip.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_fixture_sweep.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_not_found_reason.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_pagination.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/tests/test_transport.py +0 -0
- {getanyapi-0.94.2 → getanyapi-0.94.4}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: getanyapi
|
|
3
|
-
Version: 0.94.
|
|
3
|
+
Version: 0.94.4
|
|
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
|
|
@@ -142,7 +142,7 @@ class AmazonSearchInput(TypedDict, total=False):
|
|
|
142
142
|
source: NotRequired[list[str]]
|
|
143
143
|
"""Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`."""
|
|
144
144
|
url: Required[str]
|
|
145
|
-
"""Amazon search or category URL to
|
|
145
|
+
"""Amazon search or category URL. For U.S. URLs, include page to select an Amazon results page; limit caps that page. Supported keyword, category, price, brand, rating and Prime selectors and standard Amazon sort orders are preserved. Unsupported selectors are rejected."""
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
class AmazonAsinsData(BaseModel):
|
|
@@ -467,7 +467,7 @@ class AmazonNamespace:
|
|
|
467
467
|
List the top-ranked products of any Amazon Best Sellers category (rank,
|
|
468
468
|
title, price, and rating) in one normalized request.
|
|
469
469
|
|
|
470
|
-
Price: $0.
|
|
470
|
+
Price: $0.00075 per request.
|
|
471
471
|
|
|
472
472
|
Example:
|
|
473
473
|
res = client.amazon.bestsellers(limit=3, url="https://www.amazon.com/gp/bestsellers/electronics")
|
|
@@ -530,7 +530,7 @@ class AmazonNamespace:
|
|
|
530
530
|
Search Amazon from any search or category URL and get up to 20 matching
|
|
531
531
|
products (title, price, rating, and thumbnail) in one normalized response.
|
|
532
532
|
|
|
533
|
-
Price: $0.
|
|
533
|
+
Price: $0.00075 per request.
|
|
534
534
|
|
|
535
535
|
Example:
|
|
536
536
|
res = client.amazon.search(limit=3, url="https://www.amazon.com/s?k=laptop")
|
|
@@ -579,7 +579,7 @@ class AsyncAmazonNamespace:
|
|
|
579
579
|
List the top-ranked products of any Amazon Best Sellers category (rank,
|
|
580
580
|
title, price, and rating) in one normalized request.
|
|
581
581
|
|
|
582
|
-
Price: $0.
|
|
582
|
+
Price: $0.00075 per request.
|
|
583
583
|
|
|
584
584
|
Example:
|
|
585
585
|
res = client.amazon.bestsellers(limit=3, url="https://www.amazon.com/gp/bestsellers/electronics")
|
|
@@ -642,7 +642,7 @@ class AsyncAmazonNamespace:
|
|
|
642
642
|
Search Amazon from any search or category URL and get up to 20 matching
|
|
643
643
|
products (title, price, rating, and thumbnail) in one normalized response.
|
|
644
644
|
|
|
645
|
-
Price: $0.
|
|
645
|
+
Price: $0.00075 per request.
|
|
646
646
|
|
|
647
647
|
Example:
|
|
648
648
|
res = client.amazon.search(limit=3, url="https://www.amazon.com/s?k=laptop")
|
|
@@ -153,7 +153,7 @@ class BookingNamespace:
|
|
|
153
153
|
Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
154
154
|
|
|
155
155
|
Example:
|
|
156
|
-
res = client.booking.search(adults=2, checkIn="2026-11-
|
|
156
|
+
res = client.booking.search(adults=2, checkIn="2026-11-08", checkOut="2026-11-10", limit=3, query="New York")
|
|
157
157
|
"""
|
|
158
158
|
raw = self._client._run_raw( # pyright: ignore[reportPrivateUsage]
|
|
159
159
|
"booking.search", dict(input), options
|
|
@@ -182,7 +182,7 @@ class AsyncBookingNamespace:
|
|
|
182
182
|
Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
183
183
|
|
|
184
184
|
Example:
|
|
185
|
-
res = client.booking.search(adults=2, checkIn="2026-11-
|
|
185
|
+
res = client.booking.search(adults=2, checkIn="2026-11-08", checkOut="2026-11-10", limit=3, query="New York")
|
|
186
186
|
"""
|
|
187
187
|
raw = await self._client._arun_raw( # pyright: ignore[reportPrivateUsage]
|
|
188
188
|
"booking.search", dict(input), options
|
|
@@ -695,7 +695,7 @@ class GoogleHotelsNamespace:
|
|
|
695
695
|
Price: $0.0015 per request.
|
|
696
696
|
|
|
697
697
|
Example:
|
|
698
|
-
res = client.google_hotels.details(checkIn="2026-11-
|
|
698
|
+
res = client.google_hotels.details(checkIn="2026-11-08", checkOut="2026-11-10", country="us", propertyToken="ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB")
|
|
699
699
|
"""
|
|
700
700
|
raw = self._client._run_raw( # pyright: ignore[reportPrivateUsage]
|
|
701
701
|
"google_hotels.details", dict(input), options
|
|
@@ -717,7 +717,7 @@ class GoogleHotelsNamespace:
|
|
|
717
717
|
Price: $0.0015 per request.
|
|
718
718
|
|
|
719
719
|
Example:
|
|
720
|
-
res = client.google_hotels.search(checkIn="2026-11-
|
|
720
|
+
res = client.google_hotels.search(checkIn="2026-11-08", checkOut="2026-11-10", country="us", query="hotels near times square new york")
|
|
721
721
|
"""
|
|
722
722
|
raw = self._client._run_raw( # pyright: ignore[reportPrivateUsage]
|
|
723
723
|
"google_hotels.search", dict(input), options
|
|
@@ -746,7 +746,7 @@ class AsyncGoogleHotelsNamespace:
|
|
|
746
746
|
Price: $0.0015 per request.
|
|
747
747
|
|
|
748
748
|
Example:
|
|
749
|
-
res = client.google_hotels.details(checkIn="2026-11-
|
|
749
|
+
res = client.google_hotels.details(checkIn="2026-11-08", checkOut="2026-11-10", country="us", propertyToken="ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB")
|
|
750
750
|
"""
|
|
751
751
|
raw = await self._client._arun_raw( # pyright: ignore[reportPrivateUsage]
|
|
752
752
|
"google_hotels.details", dict(input), options
|
|
@@ -768,7 +768,7 @@ class AsyncGoogleHotelsNamespace:
|
|
|
768
768
|
Price: $0.0015 per request.
|
|
769
769
|
|
|
770
770
|
Example:
|
|
771
|
-
res = client.google_hotels.search(checkIn="2026-11-
|
|
771
|
+
res = client.google_hotels.search(checkIn="2026-11-08", checkOut="2026-11-10", country="us", query="hotels near times square new york")
|
|
772
772
|
"""
|
|
773
773
|
raw = await self._client._arun_raw( # pyright: ignore[reportPrivateUsage]
|
|
774
774
|
"google_hotels.search", dict(input), options
|
|
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
|