@tapline/client 0.2.7 → 0.2.8

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 (114) hide show
  1. package/README.md +6 -2
  2. package/dist/cjs/client.d.ts +6 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +9 -0
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +6 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +10 -1
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/instagram/client.d.ts +31 -0
  11. package/dist/cjs/services/instagram/client.d.ts.map +1 -0
  12. package/dist/cjs/services/instagram/client.js +60 -0
  13. package/dist/cjs/services/instagram/client.js.map +1 -0
  14. package/dist/cjs/services/instagram/index.d.ts +3 -0
  15. package/dist/cjs/services/instagram/index.d.ts.map +1 -0
  16. package/dist/cjs/services/instagram/index.js +22 -0
  17. package/dist/cjs/services/instagram/index.js.map +1 -0
  18. package/dist/cjs/services/instagram/types.d.ts +2420 -0
  19. package/dist/cjs/services/instagram/types.d.ts.map +1 -0
  20. package/dist/cjs/services/instagram/types.js +4 -0
  21. package/dist/cjs/services/instagram/types.js.map +1 -0
  22. package/dist/cjs/services/pinterest/client.d.ts +2 -2
  23. package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
  24. package/dist/cjs/services/pinterest/client.js +2 -2
  25. package/dist/cjs/services/pinterest/client.js.map +1 -1
  26. package/dist/cjs/services/pinterest/types.d.ts +0 -12
  27. package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
  28. package/dist/cjs/services/pumpfun/client.d.ts +285 -0
  29. package/dist/cjs/services/pumpfun/client.d.ts.map +1 -0
  30. package/dist/cjs/services/pumpfun/client.js +649 -0
  31. package/dist/cjs/services/pumpfun/client.js.map +1 -0
  32. package/dist/cjs/services/pumpfun/index.d.ts +3 -0
  33. package/dist/cjs/services/pumpfun/index.d.ts.map +1 -0
  34. package/dist/cjs/services/pumpfun/index.js +22 -0
  35. package/dist/cjs/services/pumpfun/index.js.map +1 -0
  36. package/dist/cjs/services/pumpfun/types.d.ts +4853 -0
  37. package/dist/cjs/services/pumpfun/types.d.ts.map +1 -0
  38. package/dist/cjs/services/pumpfun/types.js +4 -0
  39. package/dist/cjs/services/pumpfun/types.js.map +1 -0
  40. package/dist/cjs/services/tiktok/client.d.ts +35 -0
  41. package/dist/cjs/services/tiktok/client.d.ts.map +1 -0
  42. package/dist/cjs/services/tiktok/client.js +68 -0
  43. package/dist/cjs/services/tiktok/client.js.map +1 -0
  44. package/dist/cjs/services/tiktok/index.d.ts +3 -0
  45. package/dist/cjs/services/tiktok/index.d.ts.map +1 -0
  46. package/dist/cjs/services/tiktok/index.js +22 -0
  47. package/dist/cjs/services/tiktok/index.js.map +1 -0
  48. package/dist/cjs/services/tiktok/types.d.ts +2427 -0
  49. package/dist/cjs/services/tiktok/types.d.ts.map +1 -0
  50. package/dist/cjs/services/tiktok/types.js +4 -0
  51. package/dist/cjs/services/tiktok/types.js.map +1 -0
  52. package/dist/cjs/services/twitter/client.d.ts +5 -5
  53. package/dist/cjs/services/twitter/client.d.ts.map +1 -1
  54. package/dist/cjs/services/twitter/client.js +5 -5
  55. package/dist/cjs/services/twitter/client.js.map +1 -1
  56. package/dist/cjs/services/twitter/types.d.ts +0 -15
  57. package/dist/cjs/services/twitter/types.d.ts.map +1 -1
  58. package/dist/client.d.ts +6 -0
  59. package/dist/client.d.ts.map +1 -1
  60. package/dist/client.js +9 -0
  61. package/dist/client.js.map +1 -1
  62. package/dist/index.d.ts +6 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +6 -0
  65. package/dist/index.js.map +1 -1
  66. package/dist/services/instagram/client.d.ts +31 -0
  67. package/dist/services/instagram/client.d.ts.map +1 -0
  68. package/dist/services/instagram/client.js +56 -0
  69. package/dist/services/instagram/client.js.map +1 -0
  70. package/dist/services/instagram/index.d.ts +3 -0
  71. package/dist/services/instagram/index.d.ts.map +1 -0
  72. package/dist/services/instagram/index.js +4 -0
  73. package/dist/services/instagram/index.js.map +1 -0
  74. package/dist/services/instagram/types.d.ts +2420 -0
  75. package/dist/services/instagram/types.d.ts.map +1 -0
  76. package/dist/services/instagram/types.js +3 -0
  77. package/dist/services/instagram/types.js.map +1 -0
  78. package/dist/services/pinterest/client.d.ts +2 -2
  79. package/dist/services/pinterest/client.d.ts.map +1 -1
  80. package/dist/services/pinterest/client.js +2 -2
  81. package/dist/services/pinterest/client.js.map +1 -1
  82. package/dist/services/pinterest/types.d.ts +0 -12
  83. package/dist/services/pinterest/types.d.ts.map +1 -1
  84. package/dist/services/pumpfun/client.d.ts +285 -0
  85. package/dist/services/pumpfun/client.d.ts.map +1 -0
  86. package/dist/services/pumpfun/client.js +645 -0
  87. package/dist/services/pumpfun/client.js.map +1 -0
  88. package/dist/services/pumpfun/index.d.ts +3 -0
  89. package/dist/services/pumpfun/index.d.ts.map +1 -0
  90. package/dist/services/pumpfun/index.js +4 -0
  91. package/dist/services/pumpfun/index.js.map +1 -0
  92. package/dist/services/pumpfun/types.d.ts +4853 -0
  93. package/dist/services/pumpfun/types.d.ts.map +1 -0
  94. package/dist/services/pumpfun/types.js +3 -0
  95. package/dist/services/pumpfun/types.js.map +1 -0
  96. package/dist/services/tiktok/client.d.ts +35 -0
  97. package/dist/services/tiktok/client.d.ts.map +1 -0
  98. package/dist/services/tiktok/client.js +64 -0
  99. package/dist/services/tiktok/client.js.map +1 -0
  100. package/dist/services/tiktok/index.d.ts +3 -0
  101. package/dist/services/tiktok/index.d.ts.map +1 -0
  102. package/dist/services/tiktok/index.js +4 -0
  103. package/dist/services/tiktok/index.js.map +1 -0
  104. package/dist/services/tiktok/types.d.ts +2427 -0
  105. package/dist/services/tiktok/types.d.ts.map +1 -0
  106. package/dist/services/tiktok/types.js +3 -0
  107. package/dist/services/tiktok/types.js.map +1 -0
  108. package/dist/services/twitter/client.d.ts +5 -5
  109. package/dist/services/twitter/client.d.ts.map +1 -1
  110. package/dist/services/twitter/client.js +5 -5
  111. package/dist/services/twitter/client.js.map +1 -1
  112. package/dist/services/twitter/types.d.ts +0 -15
  113. package/dist/services/twitter/types.d.ts.map +1 -1
  114. package/package.json +5 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @tapline/client
2
2
 
3
- Use `@tapline/client` to collect live data from YouTube, Airbnb, GMGN, GeckoTerminal, GoPlus Security, Pons Family, Twitter (X), and Pinterest in TypeScript or JavaScript.
3
+ Use `@tapline/client` to collect live data from YouTube, Airbnb, GMGN, GeckoTerminal, GoPlus Security, Pons Family, Twitter (X), Pinterest, Instagram, Pumpfun, and TikTok in TypeScript or JavaScript.
4
4
 
5
5
  ## What you can do
6
6
 
@@ -14,8 +14,10 @@ Use `@tapline/client` to collect live data from YouTube, Airbnb, GMGN, GeckoTerm
14
14
  | Pons Family | Browse and search launches, read token markets, trades and holders, follow wallets and creator fees, and read the memestock forum | [Pons Family guide](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/ponsfamily/README.md) |
15
15
  | Twitter (X) | Read public X profiles by handle or id, an account's newest posts, single posts with media and quotes, and X Communities with their top posts | [Twitter guide](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/twitter/README.md) |
16
16
  | Pinterest | Search pins, read one pin with every image size, its video and idea-pin pages, list a user's boards, and read the pins on a board | [Pinterest guide](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/pinterest/README.md) |
17
+ | Instagram | Read profiles, posts, reels, comments, highlights, audio pages, popular topics, embeds, and exact post counts | [Instagram guide](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/instagram/README.md) |
18
+ | TikTok | Read profiles and videos, comments and replies, followers, sounds, hashtags, captions, collections, suggestions, and regional trending feeds | [TikTok guide](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/tiktok/README.md) |
17
19
 
18
- One API key and credit balance work across all eight services.
20
+ One API key and credit balance work across all eleven services.
19
21
 
20
22
  ## Get started
21
23
 
@@ -176,6 +178,8 @@ Use the [Tapline API reference](https://tapline.sh/docs?utm_source=typescript_cl
176
178
  - [Pons Family](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/ponsfamily/README.md)
177
179
  - [Twitter (X)](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/twitter/README.md)
178
180
  - [Pinterest](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/pinterest/README.md)
181
+ - [Instagram](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/instagram/README.md)
182
+ - [TikTok](https://github.com/TaplineData/tapline-typescript/blob/main/src/services/tiktok/README.md)
179
183
 
180
184
  ## License
181
185
 
@@ -7,6 +7,9 @@ import { PonsfamilyClient } from './services/ponsfamily/client.js';
7
7
  import { GoplusClient } from './services/goplus/client.js';
8
8
  import { TwitterClient } from './services/twitter/client.js';
9
9
  import { PinterestClient } from './services/pinterest/client.js';
10
+ import { InstagramClient } from './services/instagram/client.js';
11
+ import { PumpfunClient } from './services/pumpfun/client.js';
12
+ import { TiktokClient } from './services/tiktok/client.js';
10
13
  export declare class TaplineClient {
11
14
  readonly airbnb: AirbnbClient;
12
15
  readonly youtube: YoutubeClient;
@@ -16,6 +19,9 @@ export declare class TaplineClient {
16
19
  readonly goplus: GoplusClient;
17
20
  readonly twitter: TwitterClient;
18
21
  readonly pinterest: PinterestClient;
22
+ readonly instagram: InstagramClient;
23
+ readonly pumpfun: PumpfunClient;
24
+ readonly tiktok: TiktokClient;
19
25
  constructor(config?: TaplineClientConfig);
20
26
  }
21
27
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,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M,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,qBAAa,aAAa;IACxB,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;gBAElB,MAAM,GAAE,mBAAwB;CAc7C"}
@@ -11,6 +11,9 @@ const client_js_5 = require("./services/ponsfamily/client.js");
11
11
  const client_js_6 = require("./services/goplus/client.js");
12
12
  const client_js_7 = require("./services/twitter/client.js");
13
13
  const client_js_8 = require("./services/pinterest/client.js");
14
+ const client_js_9 = require("./services/instagram/client.js");
15
+ const client_js_10 = require("./services/pumpfun/client.js");
16
+ const client_js_11 = require("./services/tiktok/client.js");
14
17
  class TaplineClient {
15
18
  airbnb;
16
19
  youtube;
@@ -20,6 +23,9 @@ class TaplineClient {
20
23
  goplus;
21
24
  twitter;
22
25
  pinterest;
26
+ instagram;
27
+ pumpfun;
28
+ tiktok;
23
29
  constructor(config = {}) {
24
30
  const base = new base_js_1.BaseClient(config);
25
31
  this.airbnb = new client_js_1.AirbnbClient(base);
@@ -30,6 +36,9 @@ class TaplineClient {
30
36
  this.goplus = new client_js_6.GoplusClient(base);
31
37
  this.twitter = new client_js_7.TwitterClient(base);
32
38
  this.pinterest = new client_js_8.PinterestClient(base);
39
+ this.instagram = new client_js_9.InstagramClient(base);
40
+ this.pumpfun = new client_js_10.PumpfunClient(base);
41
+ this.tiktok = new client_js_11.TiktokClient(base);
33
42
  }
34
43
  }
35
44
  exports.TaplineClient = TaplineClient;
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAEpE,uCAAuC;AAEvC,2DAA2D;AAC3D,4DAA6D;AAC7D,yDAAuD;AACvD,kEAAyE;AACzE,+DAAmE;AACnE,2DAA2D;AAC3D,4DAA6D;AAC7D,8DAAiE;AAEjE,MAAa,aAAa;IACf,MAAM,CAAe;IACrB,OAAO,CAAgB;IACvB,IAAI,CAAa;IACjB,aAAa,CAAsB;IACnC,UAAU,CAAmB;IAC7B,MAAM,CAAe;IACrB,OAAO,CAAgB;IACvB,SAAS,CAAkB;IAEpC,YAAY,SAA8B,EAAE;QAC1C,MAAM,IAAI,GAAG,IAAI,oBAAU,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAY,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,yBAAa,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,IAAI,+BAAmB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,4BAAgB,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAY,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,yBAAa,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IA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Ae,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,0BAAa,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,MAAM,GAAG,IAAI,yBAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACF;AA3BD,sCA2BC"}
@@ -10,6 +10,9 @@ export { PonsfamilyClient } from './services/ponsfamily/client.js';
10
10
  export { GoplusClient } from './services/goplus/client.js';
11
11
  export { TwitterClient } from './services/twitter/client.js';
12
12
  export { PinterestClient } from './services/pinterest/client.js';
13
+ export { InstagramClient } from './services/instagram/client.js';
14
+ export { PumpfunClient } from './services/pumpfun/client.js';
15
+ export { TiktokClient } from './services/tiktok/client.js';
13
16
  export * as airbnb from './services/airbnb/index.js';
14
17
  export * as youtube from './services/youtube/index.js';
15
18
  export * as gmgn from './services/gmgn/index.js';
@@ -18,4 +21,7 @@ export * as ponsfamily from './services/ponsfamily/index.js';
18
21
  export * as goplus from './services/goplus/index.js';
19
22
  export * as twitter from './services/twitter/index.js';
20
23
  export * as pinterest from './services/pinterest/index.js';
24
+ export * as instagram from './services/instagram/index.js';
25
+ export * as pumpfun from './services/pumpfun/index.js';
26
+ export * as tiktok from './services/tiktok/index.js';
21
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;A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iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,IAAI,MAAM,0BAA0B,CAAC;AACjD,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.pinterest = exports.twitter = exports.goplus = exports.ponsfamily = exports.geckoterminal = exports.gmgn = exports.youtube = exports.airbnb = exports.PinterestClient = exports.TwitterClient = exports.GoplusClient = exports.PonsfamilyClient = exports.GeckoterminalClient = exports.GmgnClient = exports.YoutubeClient = exports.AirbnbClient = exports.TaplineError = exports.MissingApiKeyError = exports.DEFAULT_BASE_URL = exports.BaseClient = exports.TaplineClient = void 0;
37
+ exports.tiktok = exports.pumpfun = exports.instagram = exports.pinterest = exports.twitter = exports.goplus = exports.ponsfamily = exports.geckoterminal = exports.gmgn = exports.youtube = exports.airbnb = exports.TiktokClient = exports.PumpfunClient = exports.InstagramClient = exports.PinterestClient = exports.TwitterClient = exports.GoplusClient = exports.PonsfamilyClient = exports.GeckoterminalClient = exports.GmgnClient = exports.YoutubeClient = exports.AirbnbClient = exports.TaplineError = exports.MissingApiKeyError = exports.DEFAULT_BASE_URL = exports.BaseClient = exports.TaplineClient = void 0;
38
38
  var client_js_1 = require("./client.js");
39
39
  Object.defineProperty(exports, "TaplineClient", { enumerable: true, get: function () { return client_js_1.TaplineClient; } });
40
40
  var base_js_1 = require("./base.js");
@@ -59,6 +59,12 @@ var client_js_8 = require("./services/twitter/client.js");
59
59
  Object.defineProperty(exports, "TwitterClient", { enumerable: true, get: function () { return client_js_8.TwitterClient; } });
60
60
  var client_js_9 = require("./services/pinterest/client.js");
61
61
  Object.defineProperty(exports, "PinterestClient", { enumerable: true, get: function () { return client_js_9.PinterestClient; } });
62
+ var client_js_10 = require("./services/instagram/client.js");
63
+ Object.defineProperty(exports, "InstagramClient", { enumerable: true, get: function () { return client_js_10.InstagramClient; } });
64
+ var client_js_11 = require("./services/pumpfun/client.js");
65
+ Object.defineProperty(exports, "PumpfunClient", { enumerable: true, get: function () { return client_js_11.PumpfunClient; } });
66
+ var client_js_12 = require("./services/tiktok/client.js");
67
+ Object.defineProperty(exports, "TiktokClient", { enumerable: true, get: function () { return client_js_12.TiktokClient; } });
62
68
  exports.airbnb = __importStar(require("./services/airbnb/index.js"));
63
69
  exports.youtube = __importStar(require("./services/youtube/index.js"));
64
70
  exports.gmgn = __importStar(require("./services/gmgn/index.js"));
@@ -67,4 +73,7 @@ exports.ponsfamily = __importStar(require("./services/ponsfamily/index.js"));
67
73
  exports.goplus = __importStar(require("./services/goplus/index.js"));
68
74
  exports.twitter = __importStar(require("./services/twitter/index.js"));
69
75
  exports.pinterest = __importStar(require("./services/pinterest/index.js"));
76
+ exports.instagram = __importStar(require("./services/instagram/index.js"));
77
+ exports.pumpfun = __importStar(require("./services/pumpfun/index.js"));
78
+ exports.tiktok = __importStar(require("./services/tiktok/index.js"));
70
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpE,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,qCAAyD;AAAhD,qGAAA,UAAU,OAAA;AAAE,2GAAA,gBAAgB,OAAA;AACrC,yCAA+D;AAAtD,+GAAA,kBAAkB,OAAA;AAAE,yGAAA,YAAY,OAAA;AAEzC,yDAA2D;AAAlD,yGAAA,YAAY,OAAA;AACrB,0DAA6D;AAApD,0GAAA,aAAa,OAAA;AACtB,uDAAuD;AAA9C,uGAAA,UAAU,OAAA;AACnB,gEAAyE;AAAhE,gHAAA,mBAAmB,OAAA;AAC5B,6DAAmE;AAA1D,6GAAA,gBAAgB,OAAA;AACzB,yDAA2D;AAAlD,yGAAA,YAAY,OAAA;AACrB,0DAA6D;AAApD,0GAAA,aAAa,OAAA;AACtB,4DAAiE;AAAxD,4GAAA,eAAe,OAAA;AACxB,qEAAqD;AACrD,uEAAuD;AACvD,iEAAiD;AACjD,mFAAmE;AACnE,6EAA6D;AAC7D,qEAAqD;AACrD,uEAAuD;AACvD,2EAA2D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpE,yCAA4C;AAAnC,0GAAA,aAAa,OAAA;AACtB,qCAAyD;AAAhD,qGAAA,UAAU,OAAA;AAAE,2GAAA,gBAAgB,OAAA;AACrC,yCAA+D;AAAtD,+GAAA,kBAAkB,OAAA;AAAE,yGAAA,YAAY,OAAA;AAEzC,yDAA2D;AAAlD,yGAAA,YAAY,OAAA;AACrB,0DAA6D;AAApD,0GAAA,aAAa,OAAA;AACtB,uDAAuD;AAA9C,uGAAA,UAAU,OAAA;AACnB,gEAAyE;AAAhE,gHAAA,mBAAmB,OAAA;AAC5B,6DAAmE;AAA1D,6GAAA,gBAAgB,OAAA;AACzB,yDAA2D;AAAlD,yGAAA,YAAY,OAAA;AACrB,0DAA6D;AAApD,0GAAA,aAAa,OAAA;AACtB,4DAAiE;AAAxD,4GAAA,eAAe,OAAA;AACxB,6DAAiE;AAAxD,6GAAA,eAAe,OAAA;AACxB,2DAA6D;AAApD,2GAAA,aAAa,OAAA;AACtB,0DAA2D;AAAlD,0GAAA,YAAY,OAAA;AACrB,qEAAqD;AACrD,uEAAuD;AACvD,iEAAiD;AACjD,mFAAmE;AACnE,6EAA6D;AAC7D,qEAAqD;AACrD,uEAAuD;AACvD,2EAA2D;AAC3D,2EAA2D;AAC3D,uEAAuD;AACvD,qEAAqD"}
@@ -0,0 +1,31 @@
1
+ import type { BaseClient } from '../../base.js';
2
+ import type { GetAudioReelsParams, GetBasicProfileParams, GetEmbedParams, GetHighlightDetailParams, GetHighlightsParams, GetPostCommentsParams, GetPostCountParams, GetPostParams, GetProfileParams, GetUserPostsParams, GetUserReelsParams, InstagramAudioReelsResponse, InstagramBasicProfileResponse, InstagramCommentsResponse, InstagramEmbedResponse, InstagramHighlightDetailResponse, InstagramHighlightsResponse, InstagramPopularSearchResponse, InstagramPostCountResponse, InstagramPostResponse, InstagramProfileResponse, InstagramUserPostsResponse, InstagramUserReelsResponse, SearchPopularParams } from './types.js';
3
+ export declare class InstagramClient {
4
+ private readonly base;
5
+ constructor(base: BaseClient);
6
+ /** Reels that use an audio track, from instagram.com/reels/audio/<audio_id>/: Instagram's media objects with play counts, video versions and creators. Pass `cursor` back while `has_more` is true. Costs 1 credit. */
7
+ getAudioReels(params: GetAudioReelsParams): Promise<InstagramAudioReelsResponse>;
8
+ /** A profile summary by numeric user id: username, full name, biography, bio links, profile picture (standard and HD), verification, privacy, follower and following counts and account type. The body is Instagram's profile object at the top level. Costs 1 credit. */
9
+ getBasicProfile(params: GetBasicProfileParams): Promise<InstagramBasicProfileResponse>;
10
+ /** One post or reel in Scrape Creators' `xdt_shortcode_media` shape: caption, like and comment counts, image and video URLs, owner, tagged users, carousel children, the first page of comments and, for videos, `video_play_count` (Instagram-only plays) and `video_duration`. `created_at` is ISO 8601 and `taken_at_timestamp` the Unix time. `include_play_count=false` skips the play-count lookup. `trim=true` answers `xdt_shortcode_media` at the top level with Scrape Creators' trimmed fields. Costs 2 credits. */
11
+ getPost(params: GetPostParams): Promise<InstagramPostResponse>;
12
+ /** A page of up to 15 comments on a public post or reel: text, ISO 8601 `created_at`, like count and the commenter's id, username, verification and profile picture. Instagram does not show reply counts to logged-out visitors, so `child_comment_count` is null. Pass `cursor` back for the next page; it is null on the last one. Costs 1 credit. */
13
+ getPostComments(params: GetPostCommentsParams): Promise<InstagramCommentsResponse>;
14
+ /** A public Instagram profile in Scrape Creators' `/v1/instagram/profile` shape: biography, bio links, follower and following counts, verification, profile pictures and the 12 newest posts under `data.user.edge_owner_to_timeline_media` (pinned first). `edge_owner_to_timeline_media.count` is the size of that batch, not the account's post total; use `/v1/instagram/profile/post-count` for the total. Fields the logged-out web does not show (business contact details, category, highlight count) carry Scrape Creators' defaults. A private account answers its profile with an empty timeline. With `trim=true` the user object keeps Scrape Creators' trimmed field set. Costs 1 credit. */
15
+ getProfile(params: GetProfileParams): Promise<InstagramProfileResponse>;
16
+ /** The exact number of posts on a public profile. `is_estimated` is always false: Tapline reads the exact count, so `allow_estimated` has no effect. Costs 1 credit. */
17
+ getPostCount(params: GetPostCountParams): Promise<InstagramPostCountResponse>;
18
+ /** Instagram's public popular page for a topic. The first page carries the topic title, Instagram's generated description, suggested related searches and 12 posts; pass `cursor` back for 12 more. Instagram no longer publishes a post total or the description's sources there, so `total_media_count` is null and `source_uris` empty. Costs 2 credits. */
19
+ searchPopular(params: SearchPopularParams): Promise<InstagramPopularSearchResponse>;
20
+ /** The HTML of Instagram's embeddable profile widget, instagram.com/<handle>/embed/, as one string. Costs 1 credit. */
21
+ getEmbed(params: GetEmbedParams): Promise<InstagramEmbedResponse>;
22
+ /** Everything in one story highlight: cover, title, owner and every story item with its media type, image and video versions, dimensions, timestamps and stickers. The body is Instagram's reel object at the top level. Costs 1 credit. */
23
+ getHighlightDetail(params: GetHighlightDetailParams): Promise<InstagramHighlightDetailResponse>;
24
+ /** The story highlight albums a logged-out visitor sees on a profile: id, title, cover image and owner. Send `handle` or `user_id`; `handle` answers faster here, `user_id` costs one extra lookup. Instagram shows logged-out visitors only some albums and no way to page through the rest. Costs 1 credit. */
25
+ getHighlights(params: GetHighlightsParams): Promise<InstagramHighlightsResponse>;
26
+ /** A page of 12 of a user's posts, newest first, as Instagram's feed returns them: media type, shortcode, caption, like, comment and play counts, image and video versions, tagged users, `url` and an ISO 8601 `created_at` (`taken_at` stays the Unix time). Pass `next_max_id` back for the next page while `more_available` is true. An unknown handle answers an empty page; a private account answers 404. `trim=true` keeps Scrape Creators' trimmed item fields. Costs 1 credit. */
27
+ getUserPosts(params: GetUserPostsParams): Promise<InstagramUserPostsResponse>;
28
+ /** A page of a user's reels: each `items[].media` is Instagram's media object with play, like and comment counts, video versions, thumbnails, `url` and an ISO 8601 `created_at`. Instagram leaves the caption out of this list. Pass `paging_info.max_id` back as `max_id` for the next page. Send `user_id` for a faster answer: `handle` costs one extra lookup. `trim=true` answers flat items and a top-level `max_id`. Costs 1 credit. */
29
+ getUserReels(params: GetUserReelsParams): Promise<InstagramUserReelsResponse>;
30
+ }
31
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/instagram/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,cAAc,EAAE,wBAAwB,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AAG,OAAO,CAAC,2BAA2B,CAAC;IAItF,4dAA4d;IACtd,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAInF,gbAAgb;IAC1a,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,0BAA0B,CAAC;CAGpF"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ // Generated by generate-client from spec/openapi.json. Do not edit.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InstagramClient = void 0;
5
+ class InstagramClient {
6
+ base;
7
+ constructor(base) {
8
+ this.base = base;
9
+ }
10
+ /** Reels that use an audio track, from instagram.com/reels/audio/<audio_id>/: Instagram's media objects with play counts, video versions and creators. Pass `cursor` back while `has_more` is true. Costs 1 credit. */
11
+ async getAudioReels(params) {
12
+ return this.base.get('/v1/instagram/audio/reels', { ...params });
13
+ }
14
+ /** A profile summary by numeric user id: username, full name, biography, bio links, profile picture (standard and HD), verification, privacy, follower and following counts and account type. The body is Instagram's profile object at the top level. Costs 1 credit. */
15
+ async getBasicProfile(params) {
16
+ return this.base.get('/v1/instagram/basic-profile', { ...params });
17
+ }
18
+ /** One post or reel in Scrape Creators' `xdt_shortcode_media` shape: caption, like and comment counts, image and video URLs, owner, tagged users, carousel children, the first page of comments and, for videos, `video_play_count` (Instagram-only plays) and `video_duration`. `created_at` is ISO 8601 and `taken_at_timestamp` the Unix time. `include_play_count=false` skips the play-count lookup. `trim=true` answers `xdt_shortcode_media` at the top level with Scrape Creators' trimmed fields. Costs 2 credits. */
19
+ async getPost(params) {
20
+ return this.base.get('/v1/instagram/post', { ...params });
21
+ }
22
+ /** A page of up to 15 comments on a public post or reel: text, ISO 8601 `created_at`, like count and the commenter's id, username, verification and profile picture. Instagram does not show reply counts to logged-out visitors, so `child_comment_count` is null. Pass `cursor` back for the next page; it is null on the last one. Costs 1 credit. */
23
+ async getPostComments(params) {
24
+ return this.base.get('/v1/instagram/post/comments', { ...params });
25
+ }
26
+ /** A public Instagram profile in Scrape Creators' `/v1/instagram/profile` shape: biography, bio links, follower and following counts, verification, profile pictures and the 12 newest posts under `data.user.edge_owner_to_timeline_media` (pinned first). `edge_owner_to_timeline_media.count` is the size of that batch, not the account's post total; use `/v1/instagram/profile/post-count` for the total. Fields the logged-out web does not show (business contact details, category, highlight count) carry Scrape Creators' defaults. A private account answers its profile with an empty timeline. With `trim=true` the user object keeps Scrape Creators' trimmed field set. Costs 1 credit. */
27
+ async getProfile(params) {
28
+ return this.base.get('/v1/instagram/profile', { ...params });
29
+ }
30
+ /** The exact number of posts on a public profile. `is_estimated` is always false: Tapline reads the exact count, so `allow_estimated` has no effect. Costs 1 credit. */
31
+ async getPostCount(params) {
32
+ return this.base.get('/v1/instagram/profile/post-count', { ...params });
33
+ }
34
+ /** Instagram's public popular page for a topic. The first page carries the topic title, Instagram's generated description, suggested related searches and 12 posts; pass `cursor` back for 12 more. Instagram no longer publishes a post total or the description's sources there, so `total_media_count` is null and `source_uris` empty. Costs 2 credits. */
35
+ async searchPopular(params) {
36
+ return this.base.get('/v1/instagram/search/popular', { ...params });
37
+ }
38
+ /** The HTML of Instagram's embeddable profile widget, instagram.com/<handle>/embed/, as one string. Costs 1 credit. */
39
+ async getEmbed(params) {
40
+ return this.base.get('/v1/instagram/user/embed', { ...params });
41
+ }
42
+ /** Everything in one story highlight: cover, title, owner and every story item with its media type, image and video versions, dimensions, timestamps and stickers. The body is Instagram's reel object at the top level. Costs 1 credit. */
43
+ async getHighlightDetail(params) {
44
+ return this.base.get('/v1/instagram/user/highlight/detail', { ...params });
45
+ }
46
+ /** The story highlight albums a logged-out visitor sees on a profile: id, title, cover image and owner. Send `handle` or `user_id`; `handle` answers faster here, `user_id` costs one extra lookup. Instagram shows logged-out visitors only some albums and no way to page through the rest. Costs 1 credit. */
47
+ async getHighlights(params) {
48
+ return this.base.get('/v1/instagram/user/highlights', { ...params });
49
+ }
50
+ /** A page of 12 of a user's posts, newest first, as Instagram's feed returns them: media type, shortcode, caption, like, comment and play counts, image and video versions, tagged users, `url` and an ISO 8601 `created_at` (`taken_at` stays the Unix time). Pass `next_max_id` back for the next page while `more_available` is true. An unknown handle answers an empty page; a private account answers 404. `trim=true` keeps Scrape Creators' trimmed item fields. Costs 1 credit. */
51
+ async getUserPosts(params) {
52
+ return this.base.get('/v1/instagram/user/posts', { ...params });
53
+ }
54
+ /** A page of a user's reels: each `items[].media` is Instagram's media object with play, like and comment counts, video versions, thumbnails, `url` and an ISO 8601 `created_at`. Instagram leaves the caption out of this list. Pass `paging_info.max_id` back as `max_id` for the next page. Send `user_id` for a faster answer: `handle` costs one extra lookup. `trim=true` answers flat items and a top-level `max_id`. Costs 1 credit. */
55
+ async getUserReels(params) {
56
+ return this.base.get('/v1/instagram/user/reels', { ...params });
57
+ }
58
+ }
59
+ exports.InstagramClient = InstagramClient;
60
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/instagram/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,eAAe;IACG;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,uNAAuN;IACvN,KAAK,CAAC,aAAa,CAAC,MAA2B;QAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA8B,2BAA2B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,0QAA0Q;IAC1Q,KAAK,CAAC,eAAe,CAAC,MAA6B;QACjD,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAgC,6BAA6B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACpG,CAAC;IAED,+fAA+f;IAC/f,KAAK,CAAC,OAAO,CAAC,MAAqB;QACjC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAwB,oBAAoB,EAAE,EAAE,GAAG,MAAM,EAAE,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C3C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA6B,0BAA0B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED,gbAAgb;IAChb,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA6B,0BAA0B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAC9F,CAAC;CACF;AA9DD,0CA8DC"}
@@ -0,0 +1,3 @@
1
+ export * from './types.js';
2
+ export { InstagramClient } from './client.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/instagram/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // Generated by generate-client from spec/openapi.json. Do not edit.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.InstagramClient = void 0;
19
+ __exportStar(require("./types.js"), exports);
20
+ var client_js_1 = require("./client.js");
21
+ Object.defineProperty(exports, "InstagramClient", { enumerable: true, get: function () { return client_js_1.InstagramClient; } });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/instagram/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;;;;;;;;;;;;;;;AAEpE,6CAA2B;AAC3B,yCAA8C;AAArC,4GAAA,eAAe,OAAA"}