getanyapi 0.60.0__tar.gz → 0.61.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.60.0 → getanyapi-0.61.0}/PKG-INFO +1 -1
- {getanyapi-0.60.0 → getanyapi-0.61.0}/pyproject.toml +1 -1
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/__init__.py +1 -1
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/ebay.py +21 -4
- {getanyapi-0.60.0 → getanyapi-0.61.0}/.gitignore +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/README.md +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_account.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_async_client.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_client.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_errors.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_idempotency.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_pagination.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/_transport.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/discovery_types.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/__init__.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/ahrefs.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/airbnb.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/alibaba.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/amazon.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/apollo.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/appstore.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/bluesky.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/booking.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/capterra.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/chatgpt.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/coinmarketcap.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/company.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/company_enrichment.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/company_identify.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/company_search.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/congress.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/contact_enrichment.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/douyin.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/email.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/email_finding.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/email_verification.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/facebook.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/fiverr.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/g2.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/gemini.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/github.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/glassdoor.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/google.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/google_ads.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/google_finance.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/google_shopping.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/hackernews.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/indeed.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/instagram.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/job_search.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/linkedin.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/maps.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/mobile_phone.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/naver.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/nextdoor.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/people_search.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/perplexity.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/person.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/person_enrichment.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/pinterest.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/playstore.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/polymarket.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/property_records.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/realtor.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/reddit.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/redfin.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/rednote.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/sec.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/semrush.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/seo.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/similarweb.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/snapchat.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/social.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/spotify.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/substack.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/technographics.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/threads.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/tiktok.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/tiktok_shop.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/tripadvisor.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/trustpilot.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/truthsocial.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/twitter.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/upwork.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/walmart.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/web.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/weibo.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/yahoo_finance.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/yelp.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/youtube.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/zhihu.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/platforms/zillow.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/py.typed +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/src/getanyapi/types.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/conftest.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_account.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_client.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_durable_requests.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_envelope.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_errors.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_fixture_roundtrip.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_fixture_sweep.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_not_found_reason.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_pagination.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.0}/tests/test_transport.py +0 -0
- {getanyapi-0.60.0 → getanyapi-0.61.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.61.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
|
|
@@ -99,8 +99,12 @@ class EbaySoldListingsInput(TypedDict, total=False):
|
|
|
99
99
|
|
|
100
100
|
allowFallbacks: NotRequired[bool]
|
|
101
101
|
"""Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price. Default: true."""
|
|
102
|
+
categoryId: NotRequired[str]
|
|
103
|
+
"""Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories)."""
|
|
102
104
|
condition: NotRequired[Literal["any", "new", "used"]]
|
|
103
105
|
"""Item condition filter (e.g. used). Default: any."""
|
|
106
|
+
endDate: NotRequired[str]
|
|
107
|
+
"""Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false."""
|
|
104
108
|
freeShipping: NotRequired[bool]
|
|
105
109
|
"""Not supported by the current sources: only false (no filter) is accepted; true is refused without charge."""
|
|
106
110
|
ignoreSources: NotRequired[list[str]]
|
|
@@ -113,6 +117,8 @@ class EbaySoldListingsInput(TypedDict, total=False):
|
|
|
113
117
|
"""Optional maximum sold price in the site currency (e.g. 500). Minimum: 0."""
|
|
114
118
|
minPrice: NotRequired[float]
|
|
115
119
|
"""Optional minimum sold price in the site currency (e.g. 200). Minimum: 0."""
|
|
120
|
+
page: NotRequired[int]
|
|
121
|
+
"""1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size. Minimum: 1. Default: 1."""
|
|
116
122
|
preferLatencyUnderMs: NotRequired[int]
|
|
117
123
|
"""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."""
|
|
118
124
|
query: Required[str]
|
|
@@ -127,6 +133,8 @@ class EbaySoldListingsInput(TypedDict, total=False):
|
|
|
127
133
|
"""Result sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first)."""
|
|
128
134
|
source: NotRequired[list[str]]
|
|
129
135
|
"""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`."""
|
|
136
|
+
startDate: NotRequired[str]
|
|
137
|
+
"""Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01)."""
|
|
130
138
|
|
|
131
139
|
|
|
132
140
|
class EbaySoldListingsThinInput(TypedDict, total=False):
|
|
@@ -491,6 +499,13 @@ class EbaySearchItem(BaseModel):
|
|
|
491
499
|
|
|
492
500
|
|
|
493
501
|
class EbaySoldListingsData(BaseModel):
|
|
502
|
+
model_config = ConfigDict(populate_by_name=True)
|
|
503
|
+
|
|
504
|
+
has_more: bool | None = Field(
|
|
505
|
+
default=None,
|
|
506
|
+
alias="hasMore",
|
|
507
|
+
description="True when another results page exists. With endDate set a page can be short or empty while this is still true; request page + 1 to continue.",
|
|
508
|
+
)
|
|
494
509
|
items: list[EbaySoldListingsItem] = Field(
|
|
495
510
|
description="Sold listing records: title, sold price, sale date, condition, seller, and item URL. Populated whenever the provider has data for the entity."
|
|
496
511
|
)
|
|
@@ -722,8 +737,9 @@ class EbayNamespace:
|
|
|
722
737
|
"""eBay Sold Listings
|
|
723
738
|
|
|
724
739
|
Retrieve recently sold eBay listings for any keyword with optional
|
|
725
|
-
price-range, condition, and sort filters
|
|
726
|
-
seller, item details); ideal for pricing
|
|
740
|
+
price-range, condition, category, sold-date, and sort filters, page by page
|
|
741
|
+
(sold price, sale date, condition, seller, item details); ideal for pricing
|
|
742
|
+
research.
|
|
727
743
|
|
|
728
744
|
Price: $0.0135 per request.
|
|
729
745
|
|
|
@@ -838,8 +854,9 @@ class AsyncEbayNamespace:
|
|
|
838
854
|
"""eBay Sold Listings
|
|
839
855
|
|
|
840
856
|
Retrieve recently sold eBay listings for any keyword with optional
|
|
841
|
-
price-range, condition, and sort filters
|
|
842
|
-
seller, item details); ideal for pricing
|
|
857
|
+
price-range, condition, category, sold-date, and sort filters, page by page
|
|
858
|
+
(sold price, sale date, condition, seller, item details); ideal for pricing
|
|
859
|
+
research.
|
|
843
860
|
|
|
844
861
|
Price: $0.0135 per request.
|
|
845
862
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|