socialtap 1.529.29 → 1.536.29
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/README.md +10 -1
- package/dist/client.d.ts +13 -13
- package/dist/client.js +13 -13
- package/dist/commands.js +100 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/models.d.ts +227 -20
- package/dist/resources.d.ts +438 -3
- package/dist/resources.js +78 -1
- package/dist/tooldefs.d.ts +1 -1
- package/dist/tooldefs.js +297 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
SocialTap is the social media scraper API for developers and AI agents. Send a public link, a handle or a search and get live data back in one schema. Failed requests are free.
|
|
6
6
|
|
|
7
7
|
The TypeScript SDK for the SocialTap API: a method for every endpoint, typed models and errors, retries and pagination.
|
|
8
|
-
Generated from the SocialTap catalog (version 1.
|
|
8
|
+
Generated from the SocialTap catalog (version 1.536.29). Docs: https://socialtap.dev/docs.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -152,13 +152,18 @@ Every result also carries the envelope `meta` (request ID, source, cache status,
|
|
|
152
152
|
| `github.contributions` | `client.github.contributions.get()` | 1 credit |
|
|
153
153
|
| `github.followers` | `client.github.followers.list()` | 1 credit |
|
|
154
154
|
| `github.following` | `client.github.following.list()` | 1 credit |
|
|
155
|
+
| `github.issue` | `client.github.issue.get()` | 1 credit |
|
|
156
|
+
| `github.issue_comments` | `client.github.issueComments.list()` | 1 credit |
|
|
157
|
+
| `github.issues` | `client.github.issues.list()` | 1 credit |
|
|
155
158
|
| `github.pinned_repositories` | `client.github.pinnedRepositories.list()` | 1 credit |
|
|
156
159
|
| `github.profile` | `client.github.profile.get()` | 1 credit |
|
|
160
|
+
| `github.profile_pull_requests` | `client.github.profilePullRequests.list()` | 1 credit |
|
|
157
161
|
| `github.readme` | `client.github.readme.get()` | 1 credit |
|
|
158
162
|
| `github.releases` | `client.github.releases.list()` | 1 credit |
|
|
159
163
|
| `github.repositories` | `client.github.repositories.list()` | 1 credit |
|
|
160
164
|
| `github.repository` | `client.github.repository.get()` | 1 credit |
|
|
161
165
|
| `github.repository_contributors` | `client.github.repositoryContributors.list()` | 1 credit |
|
|
166
|
+
| `github.search_issues` | `client.github.searchIssues.list()` | 1 credit |
|
|
162
167
|
| `github.search_profiles` | `client.github.searchProfiles.list()` | 1 credit |
|
|
163
168
|
| `github.search_repositories` | `client.github.searchRepositories.list()` | 1 credit |
|
|
164
169
|
| `github.trending_profiles` | `client.github.trendingProfiles.list()` | 1 credit |
|
|
@@ -551,6 +556,7 @@ console.log(r.isError, r.output);
|
|
|
551
556
|
| `list_trending_profiles` | Trending profiles |
|
|
552
557
|
| `get_comment` | Comment by link |
|
|
553
558
|
| `list_replies` | Replies of a post |
|
|
559
|
+
| `list_issue_comments` | Issue comments |
|
|
554
560
|
| `list_profile_comments` | Profile comments |
|
|
555
561
|
| `get_ad_transcript` | Ad transcript by link |
|
|
556
562
|
| `get_ad` | Ad by link |
|
|
@@ -569,6 +575,7 @@ console.log(r.isError, r.output);
|
|
|
569
575
|
| `get_effect` | Effect by link |
|
|
570
576
|
| `get_embed` | Embed by link |
|
|
571
577
|
| `get_event` | Event by link |
|
|
578
|
+
| `get_issue` | Issue by link |
|
|
572
579
|
| `get_live` | Live by handle |
|
|
573
580
|
| `get_place` | Place by link |
|
|
574
581
|
| `get_podcast` | Podcast by link |
|
|
@@ -582,11 +589,13 @@ console.log(r.isError, r.output);
|
|
|
582
589
|
| `list_deal_products` | Deal products |
|
|
583
590
|
| `list_events` | Events of a profile |
|
|
584
591
|
| `list_highlights` | Highlights of a profile |
|
|
592
|
+
| `list_issues` | Issues of a repository |
|
|
585
593
|
| `list_offers` | Offers of a product |
|
|
586
594
|
| `list_pinned_repositories` | Pinned repositories of a profile |
|
|
587
595
|
| `list_place_events` | Place events |
|
|
588
596
|
| `list_playlists` | Playlists of a profile |
|
|
589
597
|
| `list_products` | Products of a profile |
|
|
598
|
+
| `list_profile_pull_requests` | Profile pull requests |
|
|
590
599
|
| `list_releases` | Releases of a repository |
|
|
591
600
|
| `list_repositories` | Repositories of a profile |
|
|
592
601
|
| `list_schedule` | Schedule of a profile |
|
package/dist/client.d.ts
CHANGED
|
@@ -7,20 +7,20 @@ import { Webhooks } from "./webhooks.ts";
|
|
|
7
7
|
* SocialTap is the social media scraper API for developers and AI agents. Send a public link, a handle or a
|
|
8
8
|
* search and get live data back in one schema. Failed requests are free. Available now: activity on GitHub; ads
|
|
9
9
|
* on Facebook, Google, LinkedIn and TikTok; albums on Apple Music and Spotify; comments on Bluesky, Facebook,
|
|
10
|
-
* Instagram, Reddit, Rumble, Snapchat, Threads, TikTok and YouTube; communities on Facebook, Reddit and
|
|
11
|
-
* contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement
|
|
10
|
+
* GitHub, Instagram, Reddit, Rumble, Snapchat, Threads, TikTok and YouTube; communities on Facebook, Reddit and
|
|
11
|
+
* X; contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement
|
|
12
12
|
* stats on Facebook, Instagram, Reddit, Rumble, TikTok and YouTube; events on Facebook; hashtags on Instagram
|
|
13
|
-
* and TikTok; livestreams on TikTok and Twitch; offers on Amazon; places on Facebook and
|
|
14
|
-
* Amazon, Apple Music, Instagram, Pinterest, Spotify and TikTok; podcasts on Spotify;
|
|
15
|
-
* Music, Bluesky, Facebook, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble,
|
|
16
|
-
* Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on
|
|
17
|
-
* TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google,
|
|
18
|
-
* LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat,
|
|
19
|
-
* Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub;
|
|
20
|
-
* repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok;
|
|
21
|
-
* Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook,
|
|
22
|
-
* Reddit, Rumble, TikTok, Twitch and YouTube; trends on Pinterest; usernames on Instagram; web
|
|
23
|
-
* Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.
|
|
13
|
+
* and TikTok; issues on GitHub; livestreams on TikTok and Twitch; offers on Amazon; places on Facebook and
|
|
14
|
+
* Instagram; playlists on Amazon, Apple Music, Instagram, Pinterest, Spotify and TikTok; podcasts on Spotify;
|
|
15
|
+
* posts on Amazon, Apple Music, Bluesky, Facebook, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble,
|
|
16
|
+
* Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on
|
|
17
|
+
* Amazon, Facebook and TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google,
|
|
18
|
+
* Instagram, Komi, Kwai, LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat,
|
|
19
|
+
* SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub;
|
|
20
|
+
* releases on GitHub; repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok;
|
|
21
|
+
* suggestions on Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook,
|
|
22
|
+
* Instagram, Kick, Reddit, Rumble, TikTok, Twitch and YouTube; trends on Pinterest; usernames on Instagram; web
|
|
23
|
+
* pages on Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.
|
|
24
24
|
*/
|
|
25
25
|
export declare class SocialTap extends Core {
|
|
26
26
|
/** Amazon endpoints. */
|
package/dist/client.js
CHANGED
|
@@ -8,20 +8,20 @@ import { Webhooks } from "./webhooks.js";
|
|
|
8
8
|
* SocialTap is the social media scraper API for developers and AI agents. Send a public link, a handle or a
|
|
9
9
|
* search and get live data back in one schema. Failed requests are free. Available now: activity on GitHub; ads
|
|
10
10
|
* on Facebook, Google, LinkedIn and TikTok; albums on Apple Music and Spotify; comments on Bluesky, Facebook,
|
|
11
|
-
* Instagram, Reddit, Rumble, Snapchat, Threads, TikTok and YouTube; communities on Facebook, Reddit and
|
|
12
|
-
* contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement
|
|
11
|
+
* GitHub, Instagram, Reddit, Rumble, Snapchat, Threads, TikTok and YouTube; communities on Facebook, Reddit and
|
|
12
|
+
* X; contribution calendars on GitHub; downloads on TikTok; effects on TikTok; embeds on Instagram; engagement
|
|
13
13
|
* stats on Facebook, Instagram, Reddit, Rumble, TikTok and YouTube; events on Facebook; hashtags on Instagram
|
|
14
|
-
* and TikTok; livestreams on TikTok and Twitch; offers on Amazon; places on Facebook and
|
|
15
|
-
* Amazon, Apple Music, Instagram, Pinterest, Spotify and TikTok; podcasts on Spotify;
|
|
16
|
-
* Music, Bluesky, Facebook, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble,
|
|
17
|
-
* Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on
|
|
18
|
-
* TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google,
|
|
19
|
-
* LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat,
|
|
20
|
-
* Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub;
|
|
21
|
-
* repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok;
|
|
22
|
-
* Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook,
|
|
23
|
-
* Reddit, Rumble, TikTok, Twitch and YouTube; trends on Pinterest; usernames on Instagram; web
|
|
24
|
-
* Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.
|
|
14
|
+
* and TikTok; issues on GitHub; livestreams on TikTok and Twitch; offers on Amazon; places on Facebook and
|
|
15
|
+
* Instagram; playlists on Amazon, Apple Music, Instagram, Pinterest, Spotify and TikTok; podcasts on Spotify;
|
|
16
|
+
* posts on Amazon, Apple Music, Bluesky, Facebook, Instagram, Kick, Kwai, LinkedIn, Pinterest, Reddit, Rumble,
|
|
17
|
+
* Snapchat, SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; products on
|
|
18
|
+
* Amazon, Facebook and TikTok Shop; profiles on Amazon, Apple Music, Bluesky, Facebook, GitHub, Google,
|
|
19
|
+
* Instagram, Komi, Kwai, LinkedIn, Linkme, Linktree, Lnk.Bio, Pillar, Pinterest, Reddit, Rumble, Snapchat,
|
|
20
|
+
* SoundCloud, Spotify, Telegram, Threads, TikTok, Truth Social, Twitch, X and YouTube; readmes on GitHub;
|
|
21
|
+
* releases on GitHub; repositories on GitHub; reviews on Amazon and TikTok Shop; sounds on Instagram and TikTok;
|
|
22
|
+
* suggestions on Google, Instagram and TikTok; topics on Instagram and Pinterest; transcripts on Facebook,
|
|
23
|
+
* Instagram, Kick, Reddit, Rumble, TikTok, Twitch and YouTube; trends on Pinterest; usernames on Instagram; web
|
|
24
|
+
* pages on Pinterest; web results on Facebook, Instagram, LinkedIn, Telegram, TikTok and X.
|
|
25
25
|
*/
|
|
26
26
|
export class SocialTap extends Core {
|
|
27
27
|
/** Amazon endpoints. */
|
package/dist/commands.js
CHANGED
|
@@ -1010,6 +1010,62 @@ export const COMMANDS = [
|
|
|
1010
1010
|
list: (c, p, o) => c.github.following.list(p, o),
|
|
1011
1011
|
iterate: (c, p, o) => c.github.following.iterate(p, o),
|
|
1012
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
kind: "get",
|
|
1015
|
+
platform: "github",
|
|
1016
|
+
name: "issue",
|
|
1017
|
+
endpoint: "github.issue",
|
|
1018
|
+
summary: "Issue or pull request with state, branches and changes",
|
|
1019
|
+
price: "1 credit",
|
|
1020
|
+
params: [
|
|
1021
|
+
{ name: "url", type: "string", required: true, description: "The issue or pull request: its link (https://github.com/golang/go/issues/70000, https://github.com/react/react/pull/27522 with any tab such as /files, or api.github.com/repos/golang/go/issues/70000) or owner/name#number (golang/go#70000). Owner and name are case-insensitive; an item of a renamed or moved repository is followed to its new name. At most 2048 characters. Example: https://github.com/golang/go/issues/70000" },
|
|
1022
|
+
{ name: "max_age", type: "integer", required: false, description: "Accept a cached response up to this many seconds old. Cache hits cost 0 credits. Omit to always fetch fresh. The Cache-Control: max-age=N request header is equivalent; max_age wins when both are sent. Minimum: 0." },
|
|
1023
|
+
{ name: "fields", type: "string", required: false, description: "Return only these fields of each item: comma-separated paths in the schema's notation (id,text,metrics.view_count,segments[].text; a parent path keeps the whole object). Unknown paths are rejected. Applied after the cache, so it changes neither the price nor cache hits; page and meta are always returned whole." },
|
|
1024
|
+
],
|
|
1025
|
+
get: (c, p, o) => c.github.issue.get(p, o),
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
kind: "list",
|
|
1029
|
+
platform: "github",
|
|
1030
|
+
name: "issue_comments",
|
|
1031
|
+
endpoint: "github.issue_comments",
|
|
1032
|
+
summary: "Issue and pull request comments with reactions and roles",
|
|
1033
|
+
price: "1 credit",
|
|
1034
|
+
params: [
|
|
1035
|
+
{ name: "url", type: "string", required: true, description: "The issue or pull request: its link (https://github.com/golang/go/issues/70000, https://github.com/react/react/pull/27522 or any of its tabs, or api.github.com/repos/golang/go/issues/70000), or owner/name#number (golang/go#70000). Owner and name are case-insensitive; a renamed or moved repository is followed to its new name. At most 2048 characters. Example: https://github.com/golang/go/issues/70000" },
|
|
1036
|
+
{ name: "since", type: "string", required: false, description: "Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. Example: 2026-10-01" },
|
|
1037
|
+
{ name: "until", type: "string", required: false, description: "Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). Example: 2026-10-08" },
|
|
1038
|
+
{ name: "max_age", type: "integer", required: false, description: "Accept a cached response up to this many seconds old. Cache hits cost 0 credits. Omit to always fetch fresh. The Cache-Control: max-age=N request header is equivalent; max_age wins when both are sent. Minimum: 0." },
|
|
1039
|
+
{ name: "fields", type: "string", required: false, description: "Return only these fields of each item: comma-separated paths in the schema's notation (id,text,metrics.view_count,segments[].text; a parent path keeps the whole object). Unknown paths are rejected. Applied after the cache, so it changes neither the price nor cache hits; page and meta are always returned whole." },
|
|
1040
|
+
{ name: "limit", type: "integer", required: false, description: "Items per page, 1 to the endpoint's page size (its default and maximum; larger values are reduced to it). Omit it: every page costs the same, so a smaller limit means more pages to pay for. Range: 1 to 100. Default: 100." },
|
|
1041
|
+
{ name: "cursor", type: "string", required: false, description: "page.next_cursor from the previous response. Send the same other parameters; omit to start from the first page." },
|
|
1042
|
+
],
|
|
1043
|
+
list: (c, p, o) => c.github.issueComments.list(p, o),
|
|
1044
|
+
iterate: (c, p, o) => c.github.issueComments.iterate(p, o),
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
kind: "list",
|
|
1048
|
+
platform: "github",
|
|
1049
|
+
name: "issues",
|
|
1050
|
+
endpoint: "github.issues",
|
|
1051
|
+
summary: "A repository's issues and pull requests",
|
|
1052
|
+
price: "1 credit",
|
|
1053
|
+
params: [
|
|
1054
|
+
{ name: "url", type: "string", required: true, description: "The repository: its link (https://github.com/golang/go, any of its pages such as /issues or /pulls, its clone link ending in .git, or api.github.com/repos/golang/go), or owner/name (golang/go). Owner and name are case-insensitive; a renamed or moved repository is followed to its new name. At most 2048 characters. Example: https://github.com/golang/go" },
|
|
1055
|
+
{ name: "status", type: "string", required: false, description: "Only items that are still running (active), only items that stopped (inactive), or both (all). Which items: active (open, the default), inactive (closed, merged pull requests included) or all. open and closed are read as active and inactive. One of: active, inactive, all. Default: active. Example: active", enum: ["active", "inactive", "all"] },
|
|
1056
|
+
{ name: "type", type: "string", required: false, description: "Which kind of item: all (the default: issues and pull requests, as GitHub lists them together), issue or pull_request. GitHub lists both in one list, so a page keeps only the kind asked for and can hold fewer items than limit. One of: all, issue, pull_request. Default: all.", enum: ["all", "issue", "pull_request"] },
|
|
1057
|
+
{ name: "labels", type: "string", required: false, description: "Only items that have every one of these labels: their names, separated by commas (bug,help wanted). Case-insensitive. Omit for any label. At most 600 characters. Example: NeedsInvestigation" },
|
|
1058
|
+
{ name: "sort", type: "string", required: false, description: "Order of the results. newest (default: most recently opened first), oldest, recent_activity (most recently updated first) or most_comments. One of: newest, oldest, recent_activity, most_comments. Default: newest.", enum: ["newest", "oldest", "recent_activity", "most_comments"] },
|
|
1059
|
+
{ name: "since", type: "string", required: false, description: "Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. Example: 2026-10-01" },
|
|
1060
|
+
{ name: "until", type: "string", required: false, description: "Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). Example: 2026-10-08" },
|
|
1061
|
+
{ name: "max_age", type: "integer", required: false, description: "Accept a cached response up to this many seconds old. Cache hits cost 0 credits. Omit to always fetch fresh. The Cache-Control: max-age=N request header is equivalent; max_age wins when both are sent. Minimum: 0." },
|
|
1062
|
+
{ name: "fields", type: "string", required: false, description: "Return only these fields of each item: comma-separated paths in the schema's notation (id,text,metrics.view_count,segments[].text; a parent path keeps the whole object). Unknown paths are rejected. Applied after the cache, so it changes neither the price nor cache hits; page and meta are always returned whole." },
|
|
1063
|
+
{ name: "limit", type: "integer", required: false, description: "Items per page, 1 to the endpoint's page size (its default and maximum; larger values are reduced to it). Omit it: every page costs the same, so a smaller limit means more pages to pay for. Range: 1 to 100. Default: 100." },
|
|
1064
|
+
{ name: "cursor", type: "string", required: false, description: "page.next_cursor from the previous response. Send the same other parameters; omit to start from the first page." },
|
|
1065
|
+
],
|
|
1066
|
+
list: (c, p, o) => c.github.issues.list(p, o),
|
|
1067
|
+
iterate: (c, p, o) => c.github.issues.iterate(p, o),
|
|
1068
|
+
},
|
|
1013
1069
|
{
|
|
1014
1070
|
kind: "list",
|
|
1015
1071
|
platform: "github",
|
|
@@ -1041,6 +1097,27 @@ export const COMMANDS = [
|
|
|
1041
1097
|
],
|
|
1042
1098
|
get: (c, p, o) => c.github.profile.get(p, o),
|
|
1043
1099
|
},
|
|
1100
|
+
{
|
|
1101
|
+
kind: "list",
|
|
1102
|
+
platform: "github",
|
|
1103
|
+
name: "profile_pull_requests",
|
|
1104
|
+
endpoint: "github.profile_pull_requests",
|
|
1105
|
+
summary: "Pull requests a user opened, with merge state",
|
|
1106
|
+
price: "1 credit",
|
|
1107
|
+
params: [
|
|
1108
|
+
{ name: "handle", type: "string", required: true, description: "The GitHub account whose pull requests to list: its username (login), with or without the @; its numeric account ID, which survives a rename; its link (github.com/torvalds, with any tab, api.github.com/users/<username>); or a bot by its login (dependabot[bot]) or its app's page (github.com/apps/dependabot). At most 2048 characters. Example: torvalds" },
|
|
1109
|
+
{ name: "status", type: "string", required: false, description: "Only items that are still running (active), only items that stopped (inactive), or both (all). Which pull requests: all (the default), active (open) or inactive (closed, the merged ones included; state tells merged from closed). open and closed are read as active and inactive. One of: active, inactive, all. Default: all. Example: active", enum: ["active", "inactive", "all"] },
|
|
1110
|
+
{ name: "sort", type: "string", required: false, description: "Order of the results. newest (default): most recently opened first. oldest: earliest opened first. recent_activity: most recently updated first. most_comments: most comments first. popular: most reactions first. One of: newest, oldest, recent_activity, most_comments, popular. Default: newest.", enum: ["newest", "oldest", "recent_activity", "most_comments", "popular"] },
|
|
1111
|
+
{ name: "since", type: "string", required: false, description: "Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. By when the pull request was opened (published_at), to the second; on newest, the walk stops there. Example: 2026-10-01" },
|
|
1112
|
+
{ name: "until", type: "string", required: false, description: "Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). By when the pull request was opened (published_at), to the second. Example: 2026-10-08" },
|
|
1113
|
+
{ name: "max_age", type: "integer", required: false, description: "Accept a cached response up to this many seconds old. Cache hits cost 0 credits. Omit to always fetch fresh. The Cache-Control: max-age=N request header is equivalent; max_age wins when both are sent. Minimum: 0." },
|
|
1114
|
+
{ name: "fields", type: "string", required: false, description: "Return only these fields of each item: comma-separated paths in the schema's notation (id,text,metrics.view_count,segments[].text; a parent path keeps the whole object). Unknown paths are rejected. Applied after the cache, so it changes neither the price nor cache hits; page and meta are always returned whole." },
|
|
1115
|
+
{ name: "limit", type: "integer", required: false, description: "Items per page, 1 to the endpoint's page size (its default and maximum; larger values are reduced to it). Omit it: every page costs the same, so a smaller limit means more pages to pay for. Range: 1 to 50. Default: 50." },
|
|
1116
|
+
{ name: "cursor", type: "string", required: false, description: "page.next_cursor from the previous response. Send the same other parameters; omit to start from the first page." },
|
|
1117
|
+
],
|
|
1118
|
+
list: (c, p, o) => c.github.profilePullRequests.list(p, o),
|
|
1119
|
+
iterate: (c, p, o) => c.github.profilePullRequests.iterate(p, o),
|
|
1120
|
+
},
|
|
1044
1121
|
{
|
|
1045
1122
|
kind: "get",
|
|
1046
1123
|
platform: "github",
|
|
@@ -1126,6 +1203,28 @@ export const COMMANDS = [
|
|
|
1126
1203
|
list: (c, p, o) => c.github.repositoryContributors.list(p, o),
|
|
1127
1204
|
iterate: (c, p, o) => c.github.repositoryContributors.iterate(p, o),
|
|
1128
1205
|
},
|
|
1206
|
+
{
|
|
1207
|
+
kind: "list",
|
|
1208
|
+
platform: "github",
|
|
1209
|
+
name: "search_issues",
|
|
1210
|
+
endpoint: "github.search_issues",
|
|
1211
|
+
summary: "Issues and pull requests across GitHub by keyword",
|
|
1212
|
+
price: "1 credit",
|
|
1213
|
+
params: [
|
|
1214
|
+
{ name: "query", type: "string", required: true, description: "What to find, as GitHub's issue search reads it: words matched in the title, description and comments, a phrase in quotes, and GitHub's qualifiers (repo:golang/go, org:github, author:torvalds, label:bug, is:open, is:merged, language:go, comments:>10, reactions:>5, in:title, created:>2026-01-01). A leading - leaves a word or qualifier out. A link to GitHub's own issue or pull request search is read as that search: github.com/search?q=…&type=issues (its sort included), a repository's issue or pull request list with a search (github.com/golang/go/issues?q=…, read as repo:golang/go and its q), and github.com/issues?q=… or /pulls?q=…. A sort: qualifier in it, as GitHub's lists write one (sort:updated-desc), is read as the sort. Qualifiers naming @me are refused: they need a signed-in viewer. At most 1024 characters. Example: memory leak language:go" },
|
|
1215
|
+
{ name: "kind", type: "string", required: false, description: "Which kind of item: all (the default: issues and pull requests together), issue or pull_request. A query that says is:issue or is:pr decides it when kind is all; one that says both is refused, as GitHub reads it as pull requests alone. One of: all, issue, pull_request. Default: all.", enum: ["all", "issue", "pull_request"] },
|
|
1216
|
+
{ name: "status", type: "string", required: false, description: "Only items that are still running (active), only items that stopped (inactive), or both (all). Which items: all (the default), active (open) or inactive (closed, merged pull requests included). open and closed are read as active and inactive. One of: active, inactive, all. Default: all. Example: active", enum: ["active", "inactive", "all"] },
|
|
1217
|
+
{ name: "sort", type: "string", required: false, description: "Order of the results. relevance (default): GitHub's best match. newest: most recently opened first. oldest: earliest opened first. recent_activity: most recently updated first. most_comments: most comments first. popular: most reactions first. One of: relevance, newest, oldest, recent_activity, most_comments, popular. Default: relevance.", enum: ["relevance", "newest", "oldest", "recent_activity", "most_comments", "popular"] },
|
|
1218
|
+
{ name: "since", type: "string", required: false, description: "Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. By when the item was opened (published_at), to the second; sent to GitHub as a created: qualifier, unless the query has one. Example: 2026-10-01" },
|
|
1219
|
+
{ name: "until", type: "string", required: false, description: "Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). By when the item was opened (published_at), to the second. Example: 2026-10-08" },
|
|
1220
|
+
{ name: "max_age", type: "integer", required: false, description: "Accept a cached response up to this many seconds old. Cache hits cost 0 credits. Omit to always fetch fresh. The Cache-Control: max-age=N request header is equivalent; max_age wins when both are sent. Minimum: 0." },
|
|
1221
|
+
{ name: "fields", type: "string", required: false, description: "Return only these fields of each item: comma-separated paths in the schema's notation (id,text,metrics.view_count,segments[].text; a parent path keeps the whole object). Unknown paths are rejected. Applied after the cache, so it changes neither the price nor cache hits; page and meta are always returned whole." },
|
|
1222
|
+
{ name: "limit", type: "integer", required: false, description: "Items per page, 1 to the endpoint's page size (its default and maximum; larger values are reduced to it). Omit it: every page costs the same, so a smaller limit means more pages to pay for. Range: 1 to 50. Default: 50." },
|
|
1223
|
+
{ name: "cursor", type: "string", required: false, description: "page.next_cursor from the previous response. Send the same other parameters; omit to start from the first page." },
|
|
1224
|
+
],
|
|
1225
|
+
list: (c, p, o) => c.github.searchIssues.list(p, o),
|
|
1226
|
+
iterate: (c, p, o) => c.github.searchIssues.iterate(p, o),
|
|
1227
|
+
},
|
|
1129
1228
|
{
|
|
1130
1229
|
kind: "list",
|
|
1131
1230
|
platform: "github",
|
|
@@ -1152,7 +1251,7 @@ export const COMMANDS = [
|
|
|
1152
1251
|
summary: "Repositories by keyword, with exact star and fork counts",
|
|
1153
1252
|
price: "1 credit",
|
|
1154
1253
|
params: [
|
|
1155
|
-
{ name: "query", type: "string", required: true, description: "What to find, as GitHub's repository search reads it: words matched in the name, description, topics and README, a phrase in quotes, and GitHub's qualifiers (language:go, stars:>1000, topic:cli, user:torvalds, org:github, license:mit, archived:false, fork:true, pushed:>2026-01-01). A leading - leaves a word or qualifier out. At most 1024 characters. Example: web framework language:go" },
|
|
1254
|
+
{ name: "query", type: "string", required: true, description: "What to find, as GitHub's repository search reads it: words matched in the name, description, topics and README, a phrase in quotes, and GitHub's qualifiers (language:go, stars:>1000, topic:cli, user:torvalds, org:github, license:mit, archived:false, fork:true, pushed:>2026-01-01). A leading - leaves a word or qualifier out. Qualifiers naming @me are refused: they need a signed-in viewer. At most 1024 characters. Example: web framework language:go" },
|
|
1156
1255
|
{ name: "sort", type: "string", required: false, description: "Order of the results. relevance (default): GitHub's best match. popular: most stars first. recent_activity: most recently pushed to first (pushed_at). One of: relevance, popular, recent_activity. Default: relevance.", enum: ["relevance", "popular", "recent_activity"] },
|
|
1157
1256
|
{ name: "since", type: "string", required: false, description: "Only items at or after this time: RFC 3339 (2026-10-01T12:00:00Z) or a date (2026-10-01, midnight UTC). On newest-first lists, paging stops when it is reached, so later pages are not fetched or charged. By when the repository was created (created_at), to the second; sent to GitHub as a created: qualifier, unless the query has one. Example: 2026-10-01" },
|
|
1158
1257
|
{ name: "until", type: "string", required: false, description: "Only items before this time (exclusive): RFC 3339 or a date (midnight UTC). By when the repository was created (created_at), to the second. Example: 2026-10-08" },
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** SDK version: 1.<contract facts>.<generator revision> (sdk/README.md). */
|
|
2
|
-
export declare const VERSION = "1.
|
|
2
|
+
export declare const VERSION = "1.536.29";
|
|
3
3
|
/** The production API origin. */
|
|
4
4
|
export declare const DEFAULT_BASE_URL = "https://socialtap.dev";
|
|
5
5
|
/** Environment variable the API key is read from. */
|
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by engine/cmd/gensdk (make gen) from catalog/catalog.gen.json; DO NOT EDIT.
|
|
2
2
|
/** SDK version: 1.<contract facts>.<generator revision> (sdk/README.md). */
|
|
3
|
-
export const VERSION = "1.
|
|
3
|
+
export const VERSION = "1.536.29";
|
|
4
4
|
/** The production API origin. */
|
|
5
5
|
export const DEFAULT_BASE_URL = "https://socialtap.dev";
|
|
6
6
|
/** Environment variable the API key is read from. */
|