@getanyapi/sdk 0.8.0 → 0.9.0

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.
package/dist/index.cjs CHANGED
@@ -4762,6 +4762,19 @@ var TwitterNamespace = class {
4762
4762
  this._core = _core;
4763
4763
  }
4764
4764
  _core;
4765
+ /**
4766
+ * X / Twitter Article
4767
+ *
4768
+ * Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
4769
+ *
4770
+ * Price: $0.00075 per request.
4771
+ *
4772
+ * @example
4773
+ * const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
4774
+ */
4775
+ article(input, options) {
4776
+ return this._core.run("twitter.article", input, options);
4777
+ }
4765
4778
  /**
4766
4779
  * Twitter Community
4767
4780
  *
@@ -4901,6 +4914,19 @@ var TwitterNamespace = class {
4901
4914
  options
4902
4915
  );
4903
4916
  }
4917
+ /**
4918
+ * X / Twitter Trends
4919
+ *
4920
+ * Get current X (Twitter) trends for worldwide, a country, or a city in X ranking order, including the resolved location.
4921
+ *
4922
+ * Price: $0.00075 per request.
4923
+ *
4924
+ * @example
4925
+ * const res = await client.twitter.trends({ limit: 10, location: "US" });
4926
+ */
4927
+ trends(input, options) {
4928
+ return this._core.run("twitter.trends", input, options);
4929
+ }
4904
4930
  /**
4905
4931
  * Twitter Tweet
4906
4932
  *