getanyapi 0.67.0__tar.gz → 0.68.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.67.0 → getanyapi-0.68.0}/PKG-INFO +1 -1
- {getanyapi-0.67.0 → getanyapi-0.68.0}/pyproject.toml +1 -1
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/__init__.py +1 -1
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/amazon.py +3 -45
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/appstore.py +1 -3
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/capterra.py +1 -13
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/chatgpt.py +1 -17
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/ebay.py +0 -5
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/email.py +1 -15
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/facebook.py +6 -71
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/g2.py +1 -16
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/google_shopping.py +2 -12
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/instagram.py +3 -25
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/linkedin.py +5 -92
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/maps.py +2 -55
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/perplexity.py +2 -2
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/playstore.py +2 -4
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/reddit.py +4 -55
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/redfin.py +0 -16
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/snapchat.py +2 -2
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/tiktok.py +14 -179
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/tiktok_shop.py +1 -16
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/tripadvisor.py +0 -5
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/trustpilot.py +0 -2
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/truthsocial.py +6 -6
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/twitter.py +9 -122
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/walmart.py +2 -21
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/yelp.py +0 -14
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/youtube.py +3 -54
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/zillow.py +1 -21
- {getanyapi-0.67.0 → getanyapi-0.68.0}/.gitignore +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/README.md +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_account.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_async_client.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_client.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_errors.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_idempotency.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_pagination.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/_transport.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/discovery_types.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/__init__.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/ahrefs.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/airbnb.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/alibaba.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/apollo.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/bluesky.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/booking.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/coinmarketcap.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/company.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/company_enrichment.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/company_identify.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/company_search.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/congress.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/contact_enrichment.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/douyin.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/email_finding.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/email_verification.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/fiverr.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/gemini.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/github.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/glassdoor.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/google.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/google_ads.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/google_finance.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/hackernews.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/indeed.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/job_search.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/mobile_phone.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/naver.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/nextdoor.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/people_search.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/person.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/person_enrichment.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/pinterest.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/polymarket.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/property_records.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/realtor.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/rednote.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/sec.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/semrush.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/seo.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/similarweb.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/social.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/spotify.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/substack.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/technographics.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/threads.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/upwork.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/web.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/weibo.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/yahoo_finance.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/platforms/zhihu.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/py.typed +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/src/getanyapi/types.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/conftest.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_account.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_client.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_durable_requests.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_envelope.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_errors.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_fixture_roundtrip.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_fixture_sweep.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_not_found_reason.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_pagination.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.0}/tests/test_transport.py +0 -0
- {getanyapi-0.67.0 → getanyapi-0.68.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.68.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
|
|
@@ -45,20 +45,7 @@ class AmazonBestsellersInput(TypedDict, total=False):
|
|
|
45
45
|
"""Maximum number of results to return (1-20, default 20). Range: 1 to 20. Default: 20."""
|
|
46
46
|
preferLatencyUnderMs: NotRequired[int]
|
|
47
47
|
"""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."""
|
|
48
|
-
requireFields: NotRequired[
|
|
49
|
-
list[
|
|
50
|
-
Literal[
|
|
51
|
-
"categoryName",
|
|
52
|
-
"currency",
|
|
53
|
-
"image",
|
|
54
|
-
"offersCount",
|
|
55
|
-
"price",
|
|
56
|
-
"rank",
|
|
57
|
-
"rating",
|
|
58
|
-
"reviewsCount",
|
|
59
|
-
]
|
|
60
|
-
]
|
|
61
|
-
]
|
|
48
|
+
requireFields: NotRequired[list[Literal["categoryName", "offersCount"]]]
|
|
62
49
|
"""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 `offersCount` or `categoryName`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
63
50
|
source: NotRequired[list[str]]
|
|
64
51
|
"""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`."""
|
|
@@ -75,24 +62,7 @@ class AmazonProductInput(TypedDict, total=False):
|
|
|
75
62
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
76
63
|
preferLatencyUnderMs: NotRequired[int]
|
|
77
64
|
"""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."""
|
|
78
|
-
requireFields: NotRequired[
|
|
79
|
-
list[
|
|
80
|
-
Literal[
|
|
81
|
-
"category",
|
|
82
|
-
"condition",
|
|
83
|
-
"currency",
|
|
84
|
-
"description",
|
|
85
|
-
"features",
|
|
86
|
-
"images",
|
|
87
|
-
"inStock",
|
|
88
|
-
"price",
|
|
89
|
-
"rating",
|
|
90
|
-
"reviewsCount",
|
|
91
|
-
"sellerName",
|
|
92
|
-
"variantAsins",
|
|
93
|
-
]
|
|
94
|
-
]
|
|
95
|
-
]
|
|
65
|
+
requireFields: NotRequired[list[Literal["category", "condition", "variantAsins"]]]
|
|
96
66
|
"""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 `category` or `condition`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
97
67
|
source: NotRequired[list[str]]
|
|
98
68
|
"""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`."""
|
|
@@ -146,19 +116,7 @@ class AmazonReviewsInput(TypedDict, total=False):
|
|
|
146
116
|
]
|
|
147
117
|
]
|
|
148
118
|
"""Amazon marketplace domain the product ASIN belongs to (e.g. amazon.co.uk)."""
|
|
149
|
-
requireFields: NotRequired[
|
|
150
|
-
list[
|
|
151
|
-
Literal[
|
|
152
|
-
"createdUtc",
|
|
153
|
-
"helpfulVotes",
|
|
154
|
-
"rating",
|
|
155
|
-
"reviewer",
|
|
156
|
-
"title",
|
|
157
|
-
"url",
|
|
158
|
-
"verifiedPurchase",
|
|
159
|
-
]
|
|
160
|
-
]
|
|
161
|
-
]
|
|
119
|
+
requireFields: NotRequired[list[Literal["url"]]]
|
|
162
120
|
"""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 `url`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
163
121
|
sort: NotRequired[Literal["helpful", "recent"]]
|
|
164
122
|
"""Review sort order: most helpful first or most recent first (e.g. recent)."""
|
|
@@ -30,9 +30,7 @@ class AppstoreReviewsInput(TypedDict, total=False):
|
|
|
30
30
|
"""Maximum number of results to return (1-100, default 100). Range: 1 to 100."""
|
|
31
31
|
preferLatencyUnderMs: NotRequired[int]
|
|
32
32
|
"""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."""
|
|
33
|
-
requireFields: NotRequired[
|
|
34
|
-
list[Literal["appId", "helpfulVotes", "title", "url", "version"]]
|
|
35
|
-
]
|
|
33
|
+
requireFields: NotRequired[list[Literal["appId", "helpfulVotes", "url", "version"]]]
|
|
36
34
|
"""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 `helpfulVotes` or `version`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
37
35
|
source: NotRequired[list[str]]
|
|
38
36
|
"""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`."""
|
|
@@ -28,19 +28,7 @@ class CapterraReviewsInput(TypedDict, total=False):
|
|
|
28
28
|
"""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."""
|
|
29
29
|
product: Required[str]
|
|
30
30
|
"""Capterra product URL, for example https://www.capterra.com/p/135003/Slack/. Capterra identifies a product by both its numeric id and its slug, so the full URL is required."""
|
|
31
|
-
requireFields: NotRequired[
|
|
32
|
-
list[
|
|
33
|
-
Literal[
|
|
34
|
-
"alternativesConsidered",
|
|
35
|
-
"anonymous",
|
|
36
|
-
"chosenReasons",
|
|
37
|
-
"ownerResponse",
|
|
38
|
-
"reviewSource",
|
|
39
|
-
"switchedFrom",
|
|
40
|
-
"switchingReasons",
|
|
41
|
-
]
|
|
42
|
-
]
|
|
43
|
-
]
|
|
31
|
+
requireFields: NotRequired[list[Literal["ownerResponse"]]]
|
|
44
32
|
"""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 `ownerResponse`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
45
33
|
sortBy: NotRequired[Literal["recent", "complete", "highest", "lowest"]]
|
|
46
34
|
"""Sort order for the returned reviews: newest first, most complete first, or highest or lowest rated first. Default: recent."""
|
|
@@ -40,36 +40,20 @@ class ChatgptSearchInput(TypedDict, total=False):
|
|
|
40
40
|
"advertiserName",
|
|
41
41
|
"advertiserUrl",
|
|
42
42
|
"answerPosition",
|
|
43
|
-
"category",
|
|
44
43
|
"cited",
|
|
45
|
-
"createdUtc",
|
|
46
44
|
"currency",
|
|
47
45
|
"description",
|
|
48
46
|
"domain",
|
|
49
47
|
"entities",
|
|
50
|
-
"image",
|
|
51
|
-
"merchants",
|
|
52
48
|
"model",
|
|
53
|
-
"name",
|
|
54
|
-
"phone",
|
|
55
|
-
"places",
|
|
56
|
-
"position",
|
|
57
|
-
"price",
|
|
58
|
-
"prompt",
|
|
59
|
-
"rating",
|
|
60
|
-
"reviewCount",
|
|
61
49
|
"searchQueries",
|
|
62
50
|
"searchResults",
|
|
63
|
-
"shoppingCards",
|
|
64
51
|
"snippet",
|
|
65
|
-
"title",
|
|
66
|
-
"url",
|
|
67
52
|
"webSearchTriggered",
|
|
68
|
-
"websiteUrl",
|
|
69
53
|
]
|
|
70
54
|
]
|
|
71
55
|
]
|
|
72
|
-
"""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 `cited` or `
|
|
56
|
+
"""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 `cited` or `ads`, 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 result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
73
57
|
requirePlaces: NotRequired[bool]
|
|
74
58
|
"""Serve only from a source that can return places shown with the answer. Leaving this off still returns places whenever the source that answered can. Turning it on selects the single source that guarantees them, which costs more and has nothing to fall back to if it is unavailable. Default: false."""
|
|
75
59
|
requireShoppingCards: NotRequired[bool]
|
|
@@ -71,15 +71,10 @@ class EbaySearchInput(TypedDict, total=False):
|
|
|
71
71
|
requireFields: NotRequired[
|
|
72
72
|
list[
|
|
73
73
|
Literal[
|
|
74
|
-
"bidCount",
|
|
75
|
-
"condition",
|
|
76
|
-
"currency",
|
|
77
74
|
"listingType",
|
|
78
|
-
"price",
|
|
79
75
|
"sellerFeedbackCount",
|
|
80
76
|
"sellerFeedbackPercent",
|
|
81
77
|
"sellerName",
|
|
82
|
-
"shippingCost",
|
|
83
78
|
]
|
|
84
79
|
]
|
|
85
80
|
]
|
|
@@ -41,21 +41,7 @@ class EmailVerifyInput(TypedDict, total=False):
|
|
|
41
41
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
42
42
|
preferLatencyUnderMs: NotRequired[int]
|
|
43
43
|
"""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."""
|
|
44
|
-
requireFields: NotRequired[
|
|
45
|
-
list[
|
|
46
|
-
Literal[
|
|
47
|
-
"catchAll",
|
|
48
|
-
"disposable",
|
|
49
|
-
"domain",
|
|
50
|
-
"free",
|
|
51
|
-
"mxProvider",
|
|
52
|
-
"mxRecords",
|
|
53
|
-
"reason",
|
|
54
|
-
"role",
|
|
55
|
-
"score",
|
|
56
|
-
]
|
|
57
|
-
]
|
|
58
|
-
]
|
|
44
|
+
requireFields: NotRequired[list[Literal["mxProvider", "reason"]]]
|
|
59
45
|
"""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 `reason`, 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 result that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
60
46
|
source: NotRequired[list[str]]
|
|
61
47
|
"""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`."""
|
|
@@ -93,29 +93,8 @@ class FacebookAdsSearchInput(TypedDict, total=False):
|
|
|
93
93
|
"""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."""
|
|
94
94
|
query: Required[str]
|
|
95
95
|
"""Keyword to search the Meta Ad Library for (e.g. "protein powder")."""
|
|
96
|
-
requireFields: NotRequired[
|
|
97
|
-
|
|
98
|
-
Literal[
|
|
99
|
-
"active",
|
|
100
|
-
"adCount",
|
|
101
|
-
"ads",
|
|
102
|
-
"caption",
|
|
103
|
-
"categories",
|
|
104
|
-
"endDate",
|
|
105
|
-
"isReshared",
|
|
106
|
-
"linkDescription",
|
|
107
|
-
"media",
|
|
108
|
-
"nextCursor",
|
|
109
|
-
"pageCategories",
|
|
110
|
-
"pageDeleted",
|
|
111
|
-
"pageLikes",
|
|
112
|
-
"pageProfilePicture",
|
|
113
|
-
"pageUrl",
|
|
114
|
-
"totalResults",
|
|
115
|
-
]
|
|
116
|
-
]
|
|
117
|
-
]
|
|
118
|
-
"""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 `totalResults` or `pageLikes`, 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 an ad that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
96
|
+
requireFields: NotRequired[list[Literal["totalResults"]]]
|
|
97
|
+
"""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 `totalResults`, 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 an ad that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
119
98
|
searchType: NotRequired[Literal["keyword_unordered", "keyword_exact_phrase"]]
|
|
120
99
|
"""Match mode for the query: loose keyword match (keyword_unordered, the default) or exact phrase (keyword_exact_phrase)."""
|
|
121
100
|
sortBy: NotRequired[Literal["impressions", "recent"]]
|
|
@@ -414,26 +393,8 @@ class FacebookPostInput(TypedDict, total=False):
|
|
|
414
393
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
415
394
|
preferLatencyUnderMs: NotRequired[int]
|
|
416
395
|
"""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."""
|
|
417
|
-
requireFields: NotRequired[
|
|
418
|
-
|
|
419
|
-
Literal[
|
|
420
|
-
"authorId",
|
|
421
|
-
"authorImage",
|
|
422
|
-
"authorName",
|
|
423
|
-
"authorVerified",
|
|
424
|
-
"comments",
|
|
425
|
-
"createdUtc",
|
|
426
|
-
"durationSeconds",
|
|
427
|
-
"image",
|
|
428
|
-
"likes",
|
|
429
|
-
"shares",
|
|
430
|
-
"url",
|
|
431
|
-
"videoId",
|
|
432
|
-
"views",
|
|
433
|
-
]
|
|
434
|
-
]
|
|
435
|
-
]
|
|
436
|
-
"""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 `videoId` or `authorId`, 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."""
|
|
396
|
+
requireFields: NotRequired[list[Literal["authorVerified", "videoId", "views"]]]
|
|
397
|
+
"""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 `videoId` or `views`, 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."""
|
|
437
398
|
source: NotRequired[list[str]]
|
|
438
399
|
"""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`."""
|
|
439
400
|
url: Required[str]
|
|
@@ -453,20 +414,7 @@ class FacebookPostCommentsInput(TypedDict, total=False):
|
|
|
453
414
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
454
415
|
preferLatencyUnderMs: NotRequired[int]
|
|
455
416
|
"""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."""
|
|
456
|
-
requireFields: NotRequired[
|
|
457
|
-
list[
|
|
458
|
-
Literal[
|
|
459
|
-
"authorId",
|
|
460
|
-
"authorImage",
|
|
461
|
-
"expansionToken",
|
|
462
|
-
"feedbackId",
|
|
463
|
-
"hasNextPage",
|
|
464
|
-
"nextCursor",
|
|
465
|
-
"reactions",
|
|
466
|
-
"replies",
|
|
467
|
-
]
|
|
468
|
-
]
|
|
469
|
-
]
|
|
417
|
+
requireFields: NotRequired[list[Literal["feedbackId", "hasNextPage"]]]
|
|
470
418
|
"""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 `feedbackId` or `hasNextPage`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
471
419
|
source: NotRequired[list[str]]
|
|
472
420
|
"""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`."""
|
|
@@ -553,20 +501,7 @@ class FacebookProfileReelsInput(TypedDict, total=False):
|
|
|
553
501
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
554
502
|
preferLatencyUnderMs: NotRequired[int]
|
|
555
503
|
"""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."""
|
|
556
|
-
requireFields: NotRequired[
|
|
557
|
-
list[
|
|
558
|
-
Literal[
|
|
559
|
-
"authorId",
|
|
560
|
-
"authorImage",
|
|
561
|
-
"authorName",
|
|
562
|
-
"authorVerified",
|
|
563
|
-
"durationSeconds",
|
|
564
|
-
"feedbackId",
|
|
565
|
-
"nextCursor",
|
|
566
|
-
"views",
|
|
567
|
-
]
|
|
568
|
-
]
|
|
569
|
-
]
|
|
504
|
+
requireFields: NotRequired[list[Literal["authorVerified", "feedbackId"]]]
|
|
570
505
|
"""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 `feedbackId` or `authorVerified`, 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 reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
571
506
|
source: NotRequired[list[str]]
|
|
572
507
|
"""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`."""
|
|
@@ -28,22 +28,7 @@ class G2ReviewsInput(TypedDict, total=False):
|
|
|
28
28
|
"""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."""
|
|
29
29
|
product: Required[str]
|
|
30
30
|
"""G2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug."""
|
|
31
|
-
requireFields: NotRequired[
|
|
32
|
-
list[
|
|
33
|
-
Literal[
|
|
34
|
-
"authorCountry",
|
|
35
|
-
"helpfulVotes",
|
|
36
|
-
"productId",
|
|
37
|
-
"productSlug",
|
|
38
|
-
"ratings",
|
|
39
|
-
"responseType",
|
|
40
|
-
"reviewSource",
|
|
41
|
-
"sourceType",
|
|
42
|
-
"status",
|
|
43
|
-
"switchedFrom",
|
|
44
|
-
]
|
|
45
|
-
]
|
|
46
|
-
]
|
|
31
|
+
requireFields: NotRequired[list[Literal["productSlug"]]]
|
|
47
32
|
"""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 `productSlug`, 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 review that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
48
33
|
sortBy: NotRequired[Literal["recent", "helpful", "highest", "lowest", "default"]]
|
|
49
34
|
"""Sort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering. Default: recent."""
|
|
@@ -37,21 +37,11 @@ class GoogleShoppingSearchInput(TypedDict, total=False):
|
|
|
37
37
|
requireFields: NotRequired[
|
|
38
38
|
list[
|
|
39
39
|
Literal[
|
|
40
|
-
"brand",
|
|
41
|
-
"currency",
|
|
42
|
-
"discountPercent",
|
|
43
|
-
"listPrice",
|
|
44
|
-
"listPriceText",
|
|
45
|
-
"price",
|
|
46
|
-
"priceText",
|
|
47
|
-
"productId",
|
|
48
|
-
"rating",
|
|
49
|
-
"reviewsCount",
|
|
50
|
-
"seller",
|
|
40
|
+
"brand", "currency", "discountPercent", "listPriceText", "priceText"
|
|
51
41
|
]
|
|
52
42
|
]
|
|
53
43
|
]
|
|
54
|
-
"""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 `
|
|
44
|
+
"""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 `listPriceText` or `discountPercent`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
55
45
|
sortBy: NotRequired[
|
|
56
46
|
Literal["BEST_MATCH", "LOWEST_PRICE", "HIGHEST_PRICE", "TOP_RATED"]
|
|
57
47
|
]
|
|
@@ -98,9 +98,7 @@ class InstagramFollowersInput(TypedDict, total=False):
|
|
|
98
98
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
99
99
|
preferLatencyUnderMs: NotRequired[int]
|
|
100
100
|
"""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."""
|
|
101
|
-
requireFields: NotRequired[
|
|
102
|
-
list[Literal["image", "name", "nextCursor", "private", "url", "verified"]]
|
|
103
|
-
]
|
|
101
|
+
requireFields: NotRequired[list[Literal["private"]]]
|
|
104
102
|
"""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 `private`, 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 profile 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."""
|
|
105
103
|
source: NotRequired[list[str]]
|
|
106
104
|
"""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`."""
|
|
@@ -119,9 +117,7 @@ class InstagramFollowingInput(TypedDict, total=False):
|
|
|
119
117
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
120
118
|
preferLatencyUnderMs: NotRequired[int]
|
|
121
119
|
"""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."""
|
|
122
|
-
requireFields: NotRequired[
|
|
123
|
-
list[Literal["image", "name", "nextCursor", "private", "url", "verified"]]
|
|
124
|
-
]
|
|
120
|
+
requireFields: NotRequired[list[Literal["private"]]]
|
|
125
121
|
"""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 `private`, 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 profile 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."""
|
|
126
122
|
source: NotRequired[list[str]]
|
|
127
123
|
"""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`."""
|
|
@@ -248,17 +244,13 @@ class InstagramPostInput(TypedDict, total=False):
|
|
|
248
244
|
"createdUtc",
|
|
249
245
|
"displayName",
|
|
250
246
|
"hasAudio",
|
|
251
|
-
"likes",
|
|
252
247
|
"locationId",
|
|
253
248
|
"locationName",
|
|
254
249
|
"paidPartnership",
|
|
255
250
|
"plays",
|
|
256
251
|
"productType",
|
|
257
|
-
"shortcode",
|
|
258
|
-
"type",
|
|
259
252
|
"userId",
|
|
260
253
|
"verified",
|
|
261
|
-
"videoUrl",
|
|
262
254
|
]
|
|
263
255
|
]
|
|
264
256
|
]
|
|
@@ -314,21 +306,7 @@ class InstagramProfileInput(TypedDict, total=False):
|
|
|
314
306
|
"""Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
|
|
315
307
|
preferLatencyUnderMs: NotRequired[int]
|
|
316
308
|
"""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."""
|
|
317
|
-
requireFields: NotRequired[
|
|
318
|
-
list[
|
|
319
|
-
Literal[
|
|
320
|
-
"contactMethod",
|
|
321
|
-
"followers",
|
|
322
|
-
"following",
|
|
323
|
-
"isBusiness",
|
|
324
|
-
"posts",
|
|
325
|
-
"private",
|
|
326
|
-
"title",
|
|
327
|
-
"url",
|
|
328
|
-
"verified",
|
|
329
|
-
]
|
|
330
|
-
]
|
|
331
|
-
]
|
|
309
|
+
requireFields: NotRequired[list[Literal["contactMethod"]]]
|
|
332
310
|
"""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 `contactMethod`, 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 profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge."""
|
|
333
311
|
source: NotRequired[list[str]]
|
|
334
312
|
"""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`."""
|