getanyapi 0.97.2__tar.gz → 0.98.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.
Files changed (109) hide show
  1. {getanyapi-0.97.2 → getanyapi-0.98.0}/PKG-INFO +1 -1
  2. {getanyapi-0.97.2 → getanyapi-0.98.0}/pyproject.toml +1 -1
  3. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/__init__.py +1 -1
  4. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/facebook.py +2 -2
  5. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/reddit.py +1 -1
  6. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/seo.py +7 -3
  7. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/tiktok.py +1 -1
  8. {getanyapi-0.97.2 → getanyapi-0.98.0}/.gitignore +0 -0
  9. {getanyapi-0.97.2 → getanyapi-0.98.0}/README.md +0 -0
  10. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_account.py +0 -0
  11. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_async_client.py +0 -0
  12. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_client.py +0 -0
  13. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_errors.py +0 -0
  14. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_idempotency.py +0 -0
  15. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_pagination.py +0 -0
  16. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/_transport.py +0 -0
  17. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/discovery_types.py +0 -0
  18. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/__init__.py +0 -0
  19. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/ahrefs.py +0 -0
  20. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/airbnb.py +0 -0
  21. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/alibaba.py +0 -0
  22. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/amazon.py +0 -0
  23. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/apollo.py +0 -0
  24. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/appstore.py +0 -0
  25. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/bluesky.py +0 -0
  26. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/booking.py +0 -0
  27. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/capterra.py +0 -0
  28. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/chatgpt.py +0 -0
  29. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/coinmarketcap.py +0 -0
  30. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/company.py +0 -0
  31. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/company_enrichment.py +0 -0
  32. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/company_identify.py +0 -0
  33. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/company_search.py +0 -0
  34. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/congress.py +0 -0
  35. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/contact_enrichment.py +0 -0
  36. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/douyin.py +0 -0
  37. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/ebay.py +0 -0
  38. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/email.py +0 -0
  39. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/email_finding.py +0 -0
  40. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/email_verification.py +0 -0
  41. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/fiverr.py +0 -0
  42. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/g2.py +0 -0
  43. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/gemini.py +0 -0
  44. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/github.py +0 -0
  45. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/glassdoor.py +0 -0
  46. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/google.py +0 -0
  47. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/google_ads.py +0 -0
  48. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/google_finance.py +0 -0
  49. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/google_hotels.py +0 -0
  50. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/google_shopping.py +0 -0
  51. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/hackernews.py +0 -0
  52. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/indeed.py +0 -0
  53. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/instagram.py +0 -0
  54. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/job_search.py +0 -0
  55. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/linkedin.py +0 -0
  56. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/maps.py +0 -0
  57. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/mobile_phone.py +0 -0
  58. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/naver.py +0 -0
  59. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/nextdoor.py +0 -0
  60. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/people_search.py +0 -0
  61. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/perplexity.py +0 -0
  62. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/person.py +0 -0
  63. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/person_enrichment.py +0 -0
  64. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/pexels.py +0 -0
  65. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/pinterest.py +0 -0
  66. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/playstore.py +0 -0
  67. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/polymarket.py +0 -0
  68. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/property_records.py +0 -0
  69. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/realtor.py +0 -0
  70. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/redfin.py +0 -0
  71. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/rednote.py +0 -0
  72. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/sec.py +0 -0
  73. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/semrush.py +0 -0
  74. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/similarweb.py +0 -0
  75. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/snapchat.py +0 -0
  76. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/social.py +0 -0
  77. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/spotify.py +0 -0
  78. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/substack.py +0 -0
  79. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/technographics.py +0 -0
  80. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/threads.py +0 -0
  81. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/tiktok_shop.py +0 -0
  82. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/tripadvisor.py +0 -0
  83. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/trustpilot.py +0 -0
  84. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/truthsocial.py +0 -0
  85. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/twitter.py +0 -0
  86. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/unsplash.py +0 -0
  87. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/upwork.py +0 -0
  88. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/walmart.py +0 -0
  89. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/web.py +0 -0
  90. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/weibo.py +0 -0
  91. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/yahoo_finance.py +0 -0
  92. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/yelp.py +0 -0
  93. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/youtube.py +0 -0
  94. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/zhihu.py +0 -0
  95. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/platforms/zillow.py +0 -0
  96. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/py.typed +0 -0
  97. {getanyapi-0.97.2 → getanyapi-0.98.0}/src/getanyapi/types.py +0 -0
  98. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/conftest.py +0 -0
  99. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_account.py +0 -0
  100. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_client.py +0 -0
  101. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_durable_requests.py +0 -0
  102. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_envelope.py +0 -0
  103. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_errors.py +0 -0
  104. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_fixture_roundtrip.py +0 -0
  105. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_fixture_sweep.py +0 -0
  106. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_not_found_reason.py +0 -0
  107. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_pagination.py +0 -0
  108. {getanyapi-0.97.2 → getanyapi-0.98.0}/tests/test_transport.py +0 -0
  109. {getanyapi-0.97.2 → getanyapi-0.98.0}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: getanyapi
3
- Version: 0.97.2
3
+ Version: 0.98.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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "getanyapi"
7
- version = "0.97.2"
7
+ version = "0.98.0"
8
8
  description = "Official typed Python SDK for AnyAPI: any API, one wallet, USD, no subscriptions."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -55,7 +55,7 @@ from .types import (
55
55
  unwrap,
56
56
  )
57
57
 
58
- __version__ = "0.97.2"
58
+ __version__ = "0.98.0"
59
59
 
60
60
  __all__ = [
61
61
  # clients + top-level functions
@@ -470,7 +470,7 @@ class FacebookProfileEventsInput(TypedDict, total=False):
470
470
  source: NotRequired[list[str]]
471
471
  """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`."""
472
472
  url: Required[str]
473
- """The Facebook page URL."""
473
+ """The Facebook page URL whose events to list, e.g. https://www.facebook.com/brickyardoldtown. A single event link (https://www.facebook.com/events/<id>) is refused as invalid input, with no charge; facebook.event_details reads one event."""
474
474
 
475
475
 
476
476
  class FacebookProfilePostsInput(TypedDict, total=False):
@@ -489,7 +489,7 @@ class FacebookProfilePostsInput(TypedDict, total=False):
489
489
  source: NotRequired[list[str]]
490
490
  """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`."""
491
491
  url: NotRequired[str]
492
- """Full Facebook page/profile URL."""
492
+ """Full Facebook page or profile URL, e.g. https://www.facebook.com/nike. A single event link (https://www.facebook.com/events/<id>) is refused as invalid input, with no charge; facebook.event_details reads one event."""
493
493
 
494
494
 
495
495
  class FacebookProfileReelsInput(TypedDict, total=False):
@@ -48,7 +48,7 @@ class RedditPostInput(TypedDict, total=False):
48
48
  source: NotRequired[list[str]]
49
49
  """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`."""
50
50
  url: Required[str]
51
- """Full Reddit post URL in the /r/<subreddit>/comments/<id>/<slug>/ form, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The short "reddit.com/comments/<id>" form is not accepted."""
51
+ """Reddit post URL on reddit.com, e.g. "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/". The /r/<subreddit>/comments/<id>/, /user/<name>/comments/<id>/, /comments/<id>/ and /gallery/<id> forms are accepted. A link to any other site is refused as invalid input, with no charge."""
52
52
 
53
53
 
54
54
  class RedditPostCommentsInput(TypedDict, total=False):
@@ -497,9 +497,11 @@ class SeoRankedKeywordsInput(TypedDict, total=False):
497
497
  language: NotRequired[str]
498
498
  """Language code for SEO ranking metrics. Default: en."""
499
499
  limit: NotRequired[int]
500
- """Maximum number of ranked keywords to return. You are billed per returned result, so a lower limit costs less. Range: 1 to 1000. Default: 10."""
500
+ """Maximum number of ranked keywords to return. 1,000 is the per-call maximum; use offset to fetch more. You are billed per returned result, so a lower limit costs less. Range: 1 to 1000. Default: 10."""
501
501
  location: NotRequired[int]
502
502
  """Location code for SEO ranking metrics. The default is the United States. Default: 2840."""
503
+ offset: NotRequired[int]
504
+ """Number of ranked keywords to skip in the chosen sort order. To fetch the next page, set offset to the previous offset plus limit, and keep the same orderBy, location, and language across pages. You are billed only for the keywords returned. Minimum: 0. Default: 0."""
503
505
  orderBy: NotRequired[
504
506
  Literal["position_asc", "position_desc", "volume_desc", "etv_desc"]
505
507
  ]
@@ -4136,7 +4138,8 @@ class SeoNamespace:
4136
4138
  """SEO Ranked Keywords
4137
4139
 
4138
4140
  Get AnyAPI SEO ranked keywords for a domain with rankings, traffic
4139
- estimates, volume, CPC, difficulty, and intent as normalized JSON.
4141
+ estimates, volume, CPC, difficulty, and intent as normalized JSON. One call
4142
+ returns up to 1,000 keywords; use offset to page further.
4140
4143
 
4141
4144
  Price: $0.01496 per request plus $0.00016 per result (maximum $0.17496).
4142
4145
 
@@ -4702,7 +4705,8 @@ class AsyncSeoNamespace:
4702
4705
  """SEO Ranked Keywords
4703
4706
 
4704
4707
  Get AnyAPI SEO ranked keywords for a domain with rankings, traffic
4705
- estimates, volume, CPC, difficulty, and intent as normalized JSON.
4708
+ estimates, volume, CPC, difficulty, and intent as normalized JSON. One call
4709
+ returns up to 1,000 keywords; use offset to page further.
4706
4710
 
4707
4711
  Price: $0.01496 per request plus $0.00016 per result (maximum $0.17496).
4708
4712
 
@@ -667,7 +667,7 @@ class TiktokVideoCommentsInput(TypedDict, total=False):
667
667
  source: NotRequired[list[str]]
668
668
  """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`."""
669
669
  url: Required[str]
670
- """Full TikTok video URL."""
670
+ """TikTok post URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com or vt.tiktok.com short link. A profile link (https://www.tiktok.com/@<user>), a video file link (tiktokcdn.com) or a link to any other site is refused as invalid input, with no charge."""
671
671
 
672
672
 
673
673
  class TiktokVideoDownloadInput(TypedDict, total=False):
File without changes
File without changes
File without changes
File without changes