@getanyapi/sdk 0.115.3 → 0.117.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.js CHANGED
@@ -2858,6 +2858,35 @@ var GithubNamespace = class {
2858
2858
  this._core = _core;
2859
2859
  }
2860
2860
  _core;
2861
+ /**
2862
+ * GitHub Issue Comments
2863
+ *
2864
+ * List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text.
2865
+ *
2866
+ * Price: $0.0012 per request.
2867
+ *
2868
+ * @example
2869
+ * const res = await client.github.issueComments({ url: "https://github.com/openai/whisper/pull/1838", limit: 10 });
2870
+ */
2871
+ issueComments(input, options) {
2872
+ return this._core.run("github.issue_comments", input, options);
2873
+ }
2874
+ /**
2875
+ * Iterate every result of GitHub Issue Comments across pages.
2876
+ *
2877
+ * Yields items directly; call `.pages()` on the return value to walk whole
2878
+ * result pages instead (each carries its own costUsd).
2879
+ */
2880
+ iterIssueComments(input, options) {
2881
+ return paginate(
2882
+ this._core,
2883
+ "github.issue_comments",
2884
+ input,
2885
+ "comments",
2886
+ false,
2887
+ options
2888
+ );
2889
+ }
2861
2890
  /**
2862
2891
  * GitHub Repository
2863
2892
  *
@@ -2871,6 +2900,71 @@ var GithubNamespace = class {
2871
2900
  repository(input, options) {
2872
2901
  return this._core.run("github.repository", input, options);
2873
2902
  }
2903
+ /**
2904
+ * GitHub Repository Contributors
2905
+ *
2906
+ * List the people who have committed to a GitHub repository by repository URL, ordered by number of commits, with each contributor's login, profile URL and commit count. Look each one up with github.user for their profile, website and socials.
2907
+ *
2908
+ * Price: $0.0012 per request.
2909
+ *
2910
+ * @example
2911
+ * const res = await client.github.repositoryContributors({ url: "https://github.com/openai/whisper", limit: 10 });
2912
+ */
2913
+ repositoryContributors(input, options) {
2914
+ return this._core.run("github.repository_contributors", input, options);
2915
+ }
2916
+ /**
2917
+ * GitHub Repository Forks
2918
+ *
2919
+ * List the forks of a GitHub repository by repository URL, with each fork's owner, description, stars, language and last push. Sort by newest, oldest or most starred.
2920
+ *
2921
+ * Price: $0.0012 per request.
2922
+ *
2923
+ * @example
2924
+ * const res = await client.github.repositoryForks({ url: "https://github.com/openai/whisper" });
2925
+ */
2926
+ repositoryForks(input, options) {
2927
+ return this._core.run("github.repository_forks", input, options);
2928
+ }
2929
+ /**
2930
+ * GitHub Repository Issues
2931
+ *
2932
+ * List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date.
2933
+ *
2934
+ * Price: $0.0012 per request.
2935
+ *
2936
+ * @example
2937
+ * const res = await client.github.repositoryIssues({ url: "https://github.com/openai/whisper" });
2938
+ */
2939
+ repositoryIssues(input, options) {
2940
+ return this._core.run("github.repository_issues", input, options);
2941
+ }
2942
+ /**
2943
+ * GitHub Repository README
2944
+ *
2945
+ * Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors.
2946
+ *
2947
+ * Price: $0.0012 per request.
2948
+ *
2949
+ * @example
2950
+ * const res = await client.github.repositoryReadme({ url: "https://github.com/openai/whisper" });
2951
+ */
2952
+ repositoryReadme(input, options) {
2953
+ return this._core.run("github.repository_readme", input, options);
2954
+ }
2955
+ /**
2956
+ * GitHub Issue and PR Search
2957
+ *
2958
+ * Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.
2959
+ *
2960
+ * Price: $0.0024 per request.
2961
+ *
2962
+ * @example
2963
+ * const res = await client.github.searchIssues({ query: "repo:openai/whisper is:pr" });
2964
+ */
2965
+ searchIssues(input, options) {
2966
+ return this._core.run("github.search_issues", input, options);
2967
+ }
2874
2968
  /**
2875
2969
  * GitHub Trending Developers
2876
2970
  *
@@ -3274,7 +3368,7 @@ var GoogleNamespace = class {
3274
3368
  *
3275
3369
  * Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
3276
3370
  *
3277
- * Price: $0.0005 per request.
3371
+ * Price: $0.0004 per request.
3278
3372
  *
3279
3373
  * @example
3280
3374
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -4113,7 +4207,7 @@ var InstagramNamespace = class {
4113
4207
  *
4114
4208
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4115
4209
  *
4116
- * Price: $0.027 per request.
4210
+ * Price: $0.00175 per request.
4117
4211
  *
4118
4212
  * @example
4119
4213
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -5491,7 +5585,7 @@ var RedditNamespace = class {
5491
5585
  *
5492
5586
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
5493
5587
  *
5494
- * Price: $0.00038 per request.
5588
+ * Price: $0.0012 per request.
5495
5589
  *
5496
5590
  * @example
5497
5591
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -5614,7 +5708,7 @@ var RedditNamespace = class {
5614
5708
  *
5615
5709
  * Fetch posts from a subreddit listing (hot, new, or top).
5616
5710
  *
5617
- * Price: $0.0008 per request.
5711
+ * Price: $0.00038 per request.
5618
5712
  *
5619
5713
  * @example
5620
5714
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -8660,7 +8754,7 @@ var YoutubeNamespace = class {
8660
8754
  *
8661
8755
  * Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
8662
8756
  *
8663
- * Price: $0.003 per request.
8757
+ * Price: $0.002 per request.
8664
8758
  *
8665
8759
  * @example
8666
8760
  * const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });