socialtap 1.573.31 → 1.574.31
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 +2 -2
- package/dist/commands.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/resources.d.ts +1 -1
- package/dist/tooldefs.js +1 -1
- 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.574.31). Docs: https://socialtap.dev/docs.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -223,7 +223,7 @@ Every result also carries the envelope `meta` (request ID, source, cache status,
|
|
|
223
223
|
| `linkedin.ad` | `client.linkedin.ad.get()` | 1 credit |
|
|
224
224
|
| `linkedin.comments` | `client.linkedin.comments.list()` | 1 credit (public page) or 5 credits (data partner) |
|
|
225
225
|
| `linkedin.employees` | `client.linkedin.employees.list()` | 5 credits |
|
|
226
|
-
| `linkedin.engagement` | `client.linkedin.engagement.get()` | 1 credit (public page) or
|
|
226
|
+
| `linkedin.engagement` | `client.linkedin.engagement.get()` | 1 credit (public page) or 15 credits (data partner) |
|
|
227
227
|
| `linkedin.following` | `client.linkedin.following.list()` | 5 credits |
|
|
228
228
|
| `linkedin.job` | `client.linkedin.job.get()` | 1 credit |
|
|
229
229
|
| `linkedin.job_related_jobs` | `client.linkedin.jobRelatedJobs.list()` | 1 credit |
|
package/dist/commands.js
CHANGED
|
@@ -2246,7 +2246,7 @@ export const COMMANDS = [
|
|
|
2246
2246
|
name: "engagement",
|
|
2247
2247
|
endpoint: "linkedin.engagement",
|
|
2248
2248
|
summary: "Engagement rate, cadence and top posts",
|
|
2249
|
-
price: "1 credit (public page) or
|
|
2249
|
+
price: "1 credit (public page) or 15 credits (data partner)",
|
|
2250
2250
|
params: [
|
|
2251
2251
|
{ name: "handle", type: "string", required: true, description: "The LinkedIn account: a Page's or a member's link (linkedin.com/company/<name>, /school/<name>, /showcase/<name> or /in/<name>, any tab of it), or its name with that prefix (company/microsoft, in/satyanadella). A bare name is a company's. At most 2048 characters. Example: https://www.linkedin.com/company/microsoft/" },
|
|
2252
2252
|
{ 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." },
|
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.574.31";
|
|
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.574.31";
|
|
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. */
|
package/dist/resources.d.ts
CHANGED
|
@@ -9198,7 +9198,7 @@ export declare class LinkedInEngagement {
|
|
|
9198
9198
|
* post, comment-to-like ratio, posting cadence, when they last posted, the mix of image, video, text and link
|
|
9199
9199
|
* posts, and the top and bottom post, with the profile and each post. Send a link or a name.
|
|
9200
9200
|
*
|
|
9201
|
-
* Cost: 1 credit (public page) or
|
|
9201
|
+
* Cost: 1 credit (public page) or 15 credits (data partner). Failed requests and cache hits are free.
|
|
9202
9202
|
*
|
|
9203
9203
|
* With `fields`, the items are `PartialModel<Engagement>`: only the selected paths are sent, so any member may
|
|
9204
9204
|
* be absent.
|
package/dist/tooldefs.js
CHANGED
|
@@ -490,7 +490,7 @@ export const TOOLS = [
|
|
|
490
490
|
{
|
|
491
491
|
name: "get_engagement",
|
|
492
492
|
title: "Engagement by handle",
|
|
493
|
-
description: "Engagement rate, average views, likes and comments, posting cadence and top post for an account, computed from its recent posts the same way on every platform. Pass handle: a profile link, @handle, username or ID. Price per successful call: Facebook, Instagram, Reddit, Rumble, TikTok, X, YouTube: 1 credit. LinkedIn: 1 credit (public page) or
|
|
493
|
+
description: "Engagement rate, average views, likes and comments, posting cadence and top post for an account, computed from its recent posts the same way on every platform. Pass handle: a profile link, @handle, username or ID. Price per successful call: Facebook, Instagram, Reddit, Rumble, TikTok, X, YouTube: 1 credit. LinkedIn: 1 credit (public page) or 15 credits (data partner).",
|
|
494
494
|
inputSchema: {
|
|
495
495
|
"type": "object",
|
|
496
496
|
"properties": {
|