@tapline/client 0.1.0 → 0.2.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/README.md +7 -3
- package/dist/cjs/client.d.ts +2 -0
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +3 -0
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/geckoterminal/client.d.ts +63 -0
- package/dist/cjs/services/geckoterminal/client.d.ts.map +1 -0
- package/dist/cjs/services/geckoterminal/client.js +139 -0
- package/dist/cjs/services/geckoterminal/client.js.map +1 -0
- package/dist/cjs/services/geckoterminal/index.d.ts +3 -0
- package/dist/cjs/services/geckoterminal/index.d.ts.map +1 -0
- package/dist/cjs/services/geckoterminal/index.js +22 -0
- package/dist/cjs/services/geckoterminal/index.js.map +1 -0
- package/dist/cjs/services/geckoterminal/types.d.ts +1453 -0
- package/dist/cjs/services/geckoterminal/types.d.ts.map +1 -0
- package/dist/cjs/services/geckoterminal/types.js +4 -0
- package/dist/cjs/services/geckoterminal/types.js.map +1 -0
- package/dist/cjs/services/gmgn/client.d.ts +61 -61
- package/dist/cjs/services/gmgn/client.d.ts.map +1 -1
- package/dist/cjs/services/gmgn/client.js +61 -61
- package/dist/cjs/services/gmgn/client.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/services/geckoterminal/client.d.ts +63 -0
- package/dist/services/geckoterminal/client.d.ts.map +1 -0
- package/dist/services/geckoterminal/client.js +135 -0
- package/dist/services/geckoterminal/client.js.map +1 -0
- package/dist/services/geckoterminal/index.d.ts +3 -0
- package/dist/services/geckoterminal/index.d.ts.map +1 -0
- package/dist/services/geckoterminal/index.js +4 -0
- package/dist/services/geckoterminal/index.js.map +1 -0
- package/dist/services/geckoterminal/types.d.ts +1453 -0
- package/dist/services/geckoterminal/types.d.ts.map +1 -0
- package/dist/services/geckoterminal/types.js +3 -0
- package/dist/services/geckoterminal/types.js.map +1 -0
- package/dist/services/gmgn/client.d.ts +61 -61
- package/dist/services/gmgn/client.d.ts.map +1 -1
- package/dist/services/gmgn/client.js +61 -61
- package/dist/services/gmgn/client.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @tapline/client
|
|
2
2
|
|
|
3
3
|
The official TypeScript client for the [Tapline](https://tapline.sh) API:
|
|
4
|
-
parsed, versioned JSON from live Airbnb, YouTube
|
|
5
|
-
credit pool.
|
|
4
|
+
parsed, versioned JSON from live Airbnb, YouTube, GMGN and GeckoTerminal, one
|
|
5
|
+
API key, one credit pool.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install @tapline/client
|
|
@@ -21,6 +21,9 @@ const video = await tapline.youtube.getMetadata({ video_id: 'dQw4w9WgXcQ' });
|
|
|
21
21
|
const comments = await tapline.youtube.getComments({ video_id: 'dQw4w9WgXcQ' });
|
|
22
22
|
|
|
23
23
|
const token = await tapline.gmgn.search({ chain: 'sol', q: 'bonk' });
|
|
24
|
+
|
|
25
|
+
const pools = await tapline.geckoterminal.networkLatestPools({ network: 'solana' });
|
|
26
|
+
const stats = await tapline.geckoterminal.globalStats();
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
`TaplineClient` reads `TAPLINE_API_KEY` and `TAPLINE_BASE_URL` from the
|
|
@@ -30,11 +33,12 @@ names, and resolves to the documented response type. Types are exported per
|
|
|
30
33
|
service:
|
|
31
34
|
|
|
32
35
|
```ts
|
|
33
|
-
import type { airbnb, youtube, gmgn } from '@tapline/client';
|
|
36
|
+
import type { airbnb, youtube, gmgn, geckoterminal } from '@tapline/client';
|
|
34
37
|
|
|
35
38
|
let listing: airbnb.ParsedListing;
|
|
36
39
|
let channel: youtube.ChannelResponse;
|
|
37
40
|
let trending: gmgn.TrendingToken;
|
|
41
|
+
let pool: geckoterminal.PoolResponse;
|
|
38
42
|
```
|
|
39
43
|
|
|
40
44
|
Failed requests throw `TaplineError` with `status`, `code`, `requestId` and the
|
package/dist/cjs/client.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import type { TaplineClientConfig } from './types.js';
|
|
|
2
2
|
import { AirbnbClient } from './services/airbnb/client.js';
|
|
3
3
|
import { YoutubeClient } from './services/youtube/client.js';
|
|
4
4
|
import { GmgnClient } from './services/gmgn/client.js';
|
|
5
|
+
import { GeckoterminalClient } from './services/geckoterminal/client.js';
|
|
5
6
|
export declare class TaplineClient {
|
|
6
7
|
readonly airbnb: AirbnbClient;
|
|
7
8
|
readonly youtube: YoutubeClient;
|
|
8
9
|
readonly gmgn: GmgnClient;
|
|
10
|
+
readonly geckoterminal: GeckoterminalClient;
|
|
9
11
|
constructor(config?: TaplineClientConfig);
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/cjs/client.d.ts.map
CHANGED
|
@@ -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,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
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,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,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;gBAEhC,MAAM,GAAE,mBAAwB;CAO7C"}
|
package/dist/cjs/client.js
CHANGED
|
@@ -6,15 +6,18 @@ const base_js_1 = require("./base.js");
|
|
|
6
6
|
const client_js_1 = require("./services/airbnb/client.js");
|
|
7
7
|
const client_js_2 = require("./services/youtube/client.js");
|
|
8
8
|
const client_js_3 = require("./services/gmgn/client.js");
|
|
9
|
+
const client_js_4 = require("./services/geckoterminal/client.js");
|
|
9
10
|
class TaplineClient {
|
|
10
11
|
airbnb;
|
|
11
12
|
youtube;
|
|
12
13
|
gmgn;
|
|
14
|
+
geckoterminal;
|
|
13
15
|
constructor(config = {}) {
|
|
14
16
|
const base = new base_js_1.BaseClient(config);
|
|
15
17
|
this.airbnb = new client_js_1.AirbnbClient(base);
|
|
16
18
|
this.youtube = new client_js_2.YoutubeClient(base);
|
|
17
19
|
this.gmgn = new client_js_3.GmgnClient(base);
|
|
20
|
+
this.geckoterminal = new client_js_4.GeckoterminalClient(base);
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
exports.TaplineClient = TaplineClient;
|
package/dist/cjs/client.js.map
CHANGED
|
@@ -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;
|
|
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;AAEzE,MAAa,aAAa;IACf,MAAM,CAAe;IACrB,OAAO,CAAgB;IACvB,IAAI,CAAa;IACjB,aAAa,CAAsB;IAE5C,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;IACrD,CAAC;CACF;AAbD,sCAaC"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export type { ApiErrorBody, RetryConfig, TaplineClientConfig } from './types.js'
|
|
|
5
5
|
export { AirbnbClient } from './services/airbnb/client.js';
|
|
6
6
|
export { YoutubeClient } from './services/youtube/client.js';
|
|
7
7
|
export { GmgnClient } from './services/gmgn/client.js';
|
|
8
|
+
export { GeckoterminalClient } from './services/geckoterminal/client.js';
|
|
8
9
|
export * as airbnb from './services/airbnb/index.js';
|
|
9
10
|
export * as youtube from './services/youtube/index.js';
|
|
10
11
|
export * as gmgn from './services/gmgn/index.js';
|
|
12
|
+
export * as geckoterminal from './services/geckoterminal/index.js';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO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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.gmgn = exports.youtube = exports.airbnb = exports.GmgnClient = exports.YoutubeClient = exports.AirbnbClient = exports.TaplineError = exports.MissingApiKeyError = exports.DEFAULT_BASE_URL = exports.BaseClient = exports.TaplineClient = void 0;
|
|
37
|
+
exports.geckoterminal = exports.gmgn = exports.youtube = exports.airbnb = 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");
|
|
@@ -49,7 +49,10 @@ var client_js_3 = require("./services/youtube/client.js");
|
|
|
49
49
|
Object.defineProperty(exports, "YoutubeClient", { enumerable: true, get: function () { return client_js_3.YoutubeClient; } });
|
|
50
50
|
var client_js_4 = require("./services/gmgn/client.js");
|
|
51
51
|
Object.defineProperty(exports, "GmgnClient", { enumerable: true, get: function () { return client_js_4.GmgnClient; } });
|
|
52
|
+
var client_js_5 = require("./services/geckoterminal/client.js");
|
|
53
|
+
Object.defineProperty(exports, "GeckoterminalClient", { enumerable: true, get: function () { return client_js_5.GeckoterminalClient; } });
|
|
52
54
|
exports.airbnb = __importStar(require("./services/airbnb/index.js"));
|
|
53
55
|
exports.youtube = __importStar(require("./services/youtube/index.js"));
|
|
54
56
|
exports.gmgn = __importStar(require("./services/gmgn/index.js"));
|
|
57
|
+
exports.geckoterminal = __importStar(require("./services/geckoterminal/index.js"));
|
|
55
58
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -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,qEAAqD;AACrD,uEAAuD;AACvD,iEAAiD"}
|
|
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,qEAAqD;AACrD,uEAAuD;AACvD,iEAAiD;AACjD,mFAAmE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { BaseClient } from '../../base.js';
|
|
2
|
+
import type { CandlesticksParams, CandlesticksResponse, DexesParams, DexesResponse, GlobalStatsResponse, LatestPoolsParams, LatestPoolsResponse, NetworkLatestPoolsParams, NetworkLatestPoolsResponse, NetworkPoolScreenerRequest, NetworkPoolsParams, NetworkPoolsResponse, NetworkRankingsParams, NetworkRankingsResponse, NetworksParams, NetworksResponse, PoolParams, PoolRelatedPoolsParams, PoolRelatedPoolsResponse, PoolResponse, PoolScreenerRequest, PoolSenderSwapsParams, PoolSenderSwapsResponse, PoolSwapsParams, PoolSwapsResponse, PoolTokenInfoSnapshotsParams, PoolTokenInfoSnapshotsResponse, PoolsResponse, RevivalRadarPoolsResponse, SearchParams, SearchResponse, SearchTrendsResponse, TagNetworkPoolsParams, TagNetworkPoolsResponse, TagPoolsParams, TagPoolsResponse, TagsParams, TagsResponse, TokenDeveloperPastTokensParams, TokenDeveloperPastTokensResponse, TokenHistoricalHoldersParams, TokenHistoricalHoldersResponse, TokenTopHoldersParams, TokenTopHoldersResponse, TokenTopTradersParams, TokenTopTradersResponse, TrendingLinksResponse, TrendingThemesParams, TrendingThemesResponse, TrendsParams, TrendsResponse, WalletTokenParams, WalletTokenResponse } from './types.js';
|
|
3
|
+
export declare class GeckoterminalClient {
|
|
4
|
+
private readonly base;
|
|
5
|
+
constructor(base: BaseClient);
|
|
6
|
+
/** OHLCV bars for a pair, at the requested resolution and denomination. Costs 2 credits. */
|
|
7
|
+
candlesticks(params: CandlesticksParams): Promise<CandlesticksResponse>;
|
|
8
|
+
/** Indexed DEXes with their per-DEX volume and transaction metrics. Costs 2 credits. */
|
|
9
|
+
dexes(params: DexesParams): Promise<DexesResponse>;
|
|
10
|
+
/** Aggregate DEX market stats: total 24h volume, pool and network counts, and the fear-and-greed index. Costs 2 credits. */
|
|
11
|
+
globalStats(): Promise<GlobalStatsResponse>;
|
|
12
|
+
/** Every chain GeckoTerminal indexes, with its identifier, image and native currency. Costs 2 credits. */
|
|
13
|
+
networks(params: NetworksParams): Promise<NetworksResponse>;
|
|
14
|
+
/** Chain leaderboard: each network with its 24h volume, transaction count and pool count. Costs 2 credits. */
|
|
15
|
+
networkRankings(params: NetworkRankingsParams): Promise<NetworkRankingsResponse>;
|
|
16
|
+
/** Newly created pools on one chain, newest first. Costs 2 credits. */
|
|
17
|
+
networkLatestPools(params: NetworkLatestPoolsParams): Promise<NetworkLatestPoolsResponse>;
|
|
18
|
+
/** Screen pools on one chain, optionally narrowed to a single DEX. Costs 2 credits. */
|
|
19
|
+
networkPools(params: NetworkPoolsParams, body: NetworkPoolScreenerRequest): Promise<NetworkPoolsResponse>;
|
|
20
|
+
/** Full pool detail: price, reserves, GT score, security metrics, tokens, DEX and developer. Costs 2 credits. */
|
|
21
|
+
pool(params: PoolParams): Promise<PoolResponse>;
|
|
22
|
+
/** Other pools trading the same base token, with their liquidity and 24h volume. Costs 2 credits. */
|
|
23
|
+
poolRelatedPools(params: PoolRelatedPoolsParams): Promise<PoolRelatedPoolsResponse>;
|
|
24
|
+
/** Swaps in a pool over a time window, grouped by sender wallet. Costs 2 credits. */
|
|
25
|
+
poolSenderSwaps(params: PoolSenderSwapsParams): Promise<PoolSenderSwapsResponse>;
|
|
26
|
+
/** Individual swaps in a pool. Requires a cursor: pass a unix timestamp to start from. Costs 2 credits. */
|
|
27
|
+
poolSwaps(params: PoolSwapsParams): Promise<PoolSwapsResponse>;
|
|
28
|
+
/** Descriptions, socials and metadata for both tokens in a pool, as last snapshotted. Costs 2 credits. */
|
|
29
|
+
poolTokenInfoSnapshots(params: PoolTokenInfoSnapshotsParams): Promise<PoolTokenInfoSnapshotsResponse>;
|
|
30
|
+
/** Holder count over time, as a series of snapshots. Costs 2 credits. */
|
|
31
|
+
tokenHistoricalHolders(params: TokenHistoricalHoldersParams): Promise<TokenHistoricalHoldersResponse>;
|
|
32
|
+
/** Largest holders of a token, with each holder's balance and share of supply. Costs 2 credits. */
|
|
33
|
+
tokenTopHolders(params: TokenTopHoldersParams): Promise<TokenTopHoldersResponse>;
|
|
34
|
+
/** Newly created pools across every chain, newest first. Costs 2 credits. */
|
|
35
|
+
latestPools(params: LatestPoolsParams): Promise<LatestPoolsResponse>;
|
|
36
|
+
/** Revival Radar: older pools whose trading activity has re-accelerated. Costs 2 credits. */
|
|
37
|
+
revivalRadarPools(): Promise<RevivalRadarPoolsResponse>;
|
|
38
|
+
/** Screen pools across every chain by liquidity, volume, age, holders, taxes and trade counts. Costs 2 credits. */
|
|
39
|
+
pools(body: PoolScreenerRequest): Promise<PoolsResponse>;
|
|
40
|
+
/** Search tokens, pools, pairs, categories, chains and DEXes by name, symbol or address. Costs 2 credits. */
|
|
41
|
+
search(params: SearchParams): Promise<SearchResponse>;
|
|
42
|
+
/** What other users are searching for right now, as shown in the empty search box. Costs 2 credits. */
|
|
43
|
+
searchTrends(): Promise<SearchTrendsResponse>;
|
|
44
|
+
/** Token categories (meme, defi, ai-agents, launchpads) with each category's top tokens. Costs 2 credits. */
|
|
45
|
+
tags(params: TagsParams): Promise<TagsResponse>;
|
|
46
|
+
/** Pools belonging to one category, restricted to a single chain. Costs 2 credits. */
|
|
47
|
+
tagNetworkPools(params: TagNetworkPoolsParams): Promise<TagNetworkPoolsResponse>;
|
|
48
|
+
/** Pools belonging to one category, across every chain. Costs 2 credits. */
|
|
49
|
+
tagPools(params: TagPoolsParams): Promise<TagPoolsResponse>;
|
|
50
|
+
/** Other tokens launched by the same developer, with each one's market cap and top pool. Costs 2 credits. */
|
|
51
|
+
tokenDeveloperPastTokens(params: TokenDeveloperPastTokensParams): Promise<TokenDeveloperPastTokensResponse>;
|
|
52
|
+
/** Most profitable wallets in a token, with realised and unrealised PnL, buys, sells and balance. Costs 2 credits. */
|
|
53
|
+
tokenTopTraders(params: TokenTopTradersParams): Promise<TokenTopTradersResponse>;
|
|
54
|
+
/** One wallet's position in one token: buys, sells, balance and PnL. Costs 2 credits. */
|
|
55
|
+
walletToken(params: WalletTokenParams): Promise<WalletTokenResponse>;
|
|
56
|
+
/** The curated shortcuts GeckoTerminal pins above its trending table. Costs 2 credits. */
|
|
57
|
+
trendingLinks(): Promise<TrendingLinksResponse>;
|
|
58
|
+
/** Narratives currently trending, each with the pools driving it. Costs 2 credits. */
|
|
59
|
+
trendingThemes(params: TrendingThemesParams): Promise<TrendingThemesResponse>;
|
|
60
|
+
/** Trending tokens: the top gainers, newest pools and hottest pairs powering the home page. Costs 2 credits. */
|
|
61
|
+
trends(params: TrendsParams): Promise<TrendsResponse>;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/geckoterminal/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,YAAY,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,eAAe,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,aAAa,EAAE,yBAAyB,EAAE,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE1pC,qBAAa,mBAAmB;IAClB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAE7C,4FAA4F;IAC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M,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI1E,6FAA6F;IACvF,iBAAiB,IAAI,OAAO,CAAC,yBAAyB,CAAC;IAI7D,mHAAmH;IAC7G,KAAK,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC;IAI9D,6GAA6G;IACvG,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;IAI3D,uGAAuG;IACjG,YAAY,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAInD,6GAA6G;IACvG,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC;IAIrD,sFAAsF;IAChF,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAKtF,4EAA4E;IACtE,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAKjE,6GAA6G;IACvG,wBAAwB,CAAC,MAAM,EAAE,8BAA8B,GAAG,OAAO,CAAC,gCAAgC,CAAC;IAKjH,sHAAsH;IAChH,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAKtF,yFAAyF;IACnF,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAK1E,0FAA0F;IACpF,aAAa,IAAI,OAAO,CAAC,qBAAqB,CAAC;IAIrD,sFAAsF;IAChF,cAAc,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAInF,gHAAgH;IAC1G,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC;CAG5D"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Generated by generate-client from spec/openapi.json. Do not edit.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GeckoterminalClient = void 0;
|
|
5
|
+
class GeckoterminalClient {
|
|
6
|
+
base;
|
|
7
|
+
constructor(base) {
|
|
8
|
+
this.base = base;
|
|
9
|
+
}
|
|
10
|
+
/** OHLCV bars for a pair, at the requested resolution and denomination. Costs 2 credits. */
|
|
11
|
+
async candlesticks(params) {
|
|
12
|
+
const { pool_id, pair_id, ...query } = params;
|
|
13
|
+
return this.base.get(`/api/v1/gecko-terminal/candlesticks/${encodeURIComponent(pool_id)}/${encodeURIComponent(pair_id)}`, query);
|
|
14
|
+
}
|
|
15
|
+
/** Indexed DEXes with their per-DEX volume and transaction metrics. Costs 2 credits. */
|
|
16
|
+
async dexes(params) {
|
|
17
|
+
return this.base.get('/api/v1/gecko-terminal/dexes', { ...params });
|
|
18
|
+
}
|
|
19
|
+
/** Aggregate DEX market stats: total 24h volume, pool and network counts, and the fear-and-greed index. Costs 2 credits. */
|
|
20
|
+
async globalStats() {
|
|
21
|
+
return this.base.get('/api/v1/gecko-terminal/global-stats');
|
|
22
|
+
}
|
|
23
|
+
/** Every chain GeckoTerminal indexes, with its identifier, image and native currency. Costs 2 credits. */
|
|
24
|
+
async networks(params) {
|
|
25
|
+
return this.base.get('/api/v1/gecko-terminal/networks', { ...params });
|
|
26
|
+
}
|
|
27
|
+
/** Chain leaderboard: each network with its 24h volume, transaction count and pool count. Costs 2 credits. */
|
|
28
|
+
async networkRankings(params) {
|
|
29
|
+
return this.base.get('/api/v1/gecko-terminal/networks/rankings', { ...params });
|
|
30
|
+
}
|
|
31
|
+
/** Newly created pools on one chain, newest first. Costs 2 credits. */
|
|
32
|
+
async networkLatestPools(params) {
|
|
33
|
+
const { network, ...query } = params;
|
|
34
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/latest`, query);
|
|
35
|
+
}
|
|
36
|
+
/** Screen pools on one chain, optionally narrowed to a single DEX. Costs 2 credits. */
|
|
37
|
+
async networkPools(params, body) {
|
|
38
|
+
const { network } = params;
|
|
39
|
+
return this.base.post(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/search`, body);
|
|
40
|
+
}
|
|
41
|
+
/** Full pool detail: price, reserves, GT score, security metrics, tokens, DEX and developer. Costs 2 credits. */
|
|
42
|
+
async pool(params) {
|
|
43
|
+
const { network, address, ...query } = params;
|
|
44
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/${encodeURIComponent(address)}`, query);
|
|
45
|
+
}
|
|
46
|
+
/** Other pools trading the same base token, with their liquidity and 24h volume. Costs 2 credits. */
|
|
47
|
+
async poolRelatedPools(params) {
|
|
48
|
+
const { network, address } = params;
|
|
49
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/${encodeURIComponent(address)}/related-pools`);
|
|
50
|
+
}
|
|
51
|
+
/** Swaps in a pool over a time window, grouped by sender wallet. Costs 2 credits. */
|
|
52
|
+
async poolSenderSwaps(params) {
|
|
53
|
+
const { network, address, ...query } = params;
|
|
54
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/${encodeURIComponent(address)}/sender-swaps`, query);
|
|
55
|
+
}
|
|
56
|
+
/** Individual swaps in a pool. Requires a cursor: pass a unix timestamp to start from. Costs 2 credits. */
|
|
57
|
+
async poolSwaps(params) {
|
|
58
|
+
const { network, address, ...query } = params;
|
|
59
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/${encodeURIComponent(address)}/swaps`, query);
|
|
60
|
+
}
|
|
61
|
+
/** Descriptions, socials and metadata for both tokens in a pool, as last snapshotted. Costs 2 credits. */
|
|
62
|
+
async poolTokenInfoSnapshots(params) {
|
|
63
|
+
const { network, address } = params;
|
|
64
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/pools/${encodeURIComponent(address)}/token-info-snapshots`);
|
|
65
|
+
}
|
|
66
|
+
/** Holder count over time, as a series of snapshots. Costs 2 credits. */
|
|
67
|
+
async tokenHistoricalHolders(params) {
|
|
68
|
+
const { network, token_address, ...query } = params;
|
|
69
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/tokens/${encodeURIComponent(token_address)}/historical-holders`, query);
|
|
70
|
+
}
|
|
71
|
+
/** Largest holders of a token, with each holder's balance and share of supply. Costs 2 credits. */
|
|
72
|
+
async tokenTopHolders(params) {
|
|
73
|
+
const { network, token_address } = params;
|
|
74
|
+
return this.base.get(`/api/v1/gecko-terminal/networks/${encodeURIComponent(network)}/tokens/${encodeURIComponent(token_address)}/top-holders`);
|
|
75
|
+
}
|
|
76
|
+
/** Newly created pools across every chain, newest first. Costs 2 credits. */
|
|
77
|
+
async latestPools(params) {
|
|
78
|
+
return this.base.get('/api/v1/gecko-terminal/pools/latest', { ...params });
|
|
79
|
+
}
|
|
80
|
+
/** Revival Radar: older pools whose trading activity has re-accelerated. Costs 2 credits. */
|
|
81
|
+
async revivalRadarPools() {
|
|
82
|
+
return this.base.get('/api/v1/gecko-terminal/pools/revival-radar');
|
|
83
|
+
}
|
|
84
|
+
/** Screen pools across every chain by liquidity, volume, age, holders, taxes and trade counts. Costs 2 credits. */
|
|
85
|
+
async pools(body) {
|
|
86
|
+
return this.base.post('/api/v1/gecko-terminal/pools/search', body);
|
|
87
|
+
}
|
|
88
|
+
/** Search tokens, pools, pairs, categories, chains and DEXes by name, symbol or address. Costs 2 credits. */
|
|
89
|
+
async search(params) {
|
|
90
|
+
return this.base.get('/api/v1/gecko-terminal/search', { ...params });
|
|
91
|
+
}
|
|
92
|
+
/** What other users are searching for right now, as shown in the empty search box. Costs 2 credits. */
|
|
93
|
+
async searchTrends() {
|
|
94
|
+
return this.base.get('/api/v1/gecko-terminal/search-trends');
|
|
95
|
+
}
|
|
96
|
+
/** Token categories (meme, defi, ai-agents, launchpads) with each category's top tokens. Costs 2 credits. */
|
|
97
|
+
async tags(params) {
|
|
98
|
+
return this.base.get('/api/v1/gecko-terminal/tags', { ...params });
|
|
99
|
+
}
|
|
100
|
+
/** Pools belonging to one category, restricted to a single chain. Costs 2 credits. */
|
|
101
|
+
async tagNetworkPools(params) {
|
|
102
|
+
const { tag, network, ...query } = params;
|
|
103
|
+
return this.base.get(`/api/v1/gecko-terminal/tags/${encodeURIComponent(tag)}/networks/${encodeURIComponent(network)}/pools`, query);
|
|
104
|
+
}
|
|
105
|
+
/** Pools belonging to one category, across every chain. Costs 2 credits. */
|
|
106
|
+
async tagPools(params) {
|
|
107
|
+
const { tag, ...query } = params;
|
|
108
|
+
return this.base.get(`/api/v1/gecko-terminal/tags/${encodeURIComponent(tag)}/pools`, query);
|
|
109
|
+
}
|
|
110
|
+
/** Other tokens launched by the same developer, with each one's market cap and top pool. Costs 2 credits. */
|
|
111
|
+
async tokenDeveloperPastTokens(params) {
|
|
112
|
+
const { developer_detail_id } = params;
|
|
113
|
+
return this.base.get(`/api/v1/gecko-terminal/token-developers/${encodeURIComponent(developer_detail_id)}/past-tokens`);
|
|
114
|
+
}
|
|
115
|
+
/** Most profitable wallets in a token, with realised and unrealised PnL, buys, sells and balance. Costs 2 credits. */
|
|
116
|
+
async tokenTopTraders(params) {
|
|
117
|
+
const { token_id } = params;
|
|
118
|
+
return this.base.get(`/api/v1/gecko-terminal/tokens/${encodeURIComponent(token_id)}/top-traders`);
|
|
119
|
+
}
|
|
120
|
+
/** One wallet's position in one token: buys, sells, balance and PnL. Costs 2 credits. */
|
|
121
|
+
async walletToken(params) {
|
|
122
|
+
const { token_id, wallet_address } = params;
|
|
123
|
+
return this.base.get(`/api/v1/gecko-terminal/tokens/${encodeURIComponent(token_id)}/wallets/${encodeURIComponent(wallet_address)}`);
|
|
124
|
+
}
|
|
125
|
+
/** The curated shortcuts GeckoTerminal pins above its trending table. Costs 2 credits. */
|
|
126
|
+
async trendingLinks() {
|
|
127
|
+
return this.base.get('/api/v1/gecko-terminal/trending-links');
|
|
128
|
+
}
|
|
129
|
+
/** Narratives currently trending, each with the pools driving it. Costs 2 credits. */
|
|
130
|
+
async trendingThemes(params) {
|
|
131
|
+
return this.base.get('/api/v1/gecko-terminal/trending-themes', { ...params });
|
|
132
|
+
}
|
|
133
|
+
/** Trending tokens: the top gainers, newest pools and hottest pairs powering the home page. Costs 2 credits. */
|
|
134
|
+
async trends(params) {
|
|
135
|
+
return this.base.get('/api/v1/gecko-terminal/trends', { ...params });
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.GeckoterminalClient = GeckoterminalClient;
|
|
139
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/geckoterminal/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,mBAAmB;IACD;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,4FAA4F;IAC5F,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAuB,uCAAuC,kBAAkB,CAAC,OAAO,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;IACzJ,CAAC;IAED,wFAAwF;IACxF,KAAK,CAAC,KAAK,CAAC,MAAmB;QAC7B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAgB,8BAA8B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,4HAA4H;IAC5H,KAAK,CAAC,WAAW;QACf,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAsB,qCAAqC,CAAC,CAAC;IACnF,CAAC;IAED,0GAA0G;IAC1G,KAAK,CAAC,QAAQ,CAAC,MAAsB;QACnC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA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F,KAAK,CAAC,cAAc,CAAC,MAA4B;QAC/C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAyB,wCAAwC,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACxG,CAAC;IAED,gHAAgH;IAChH,KAAK,CAAC,MAAM,CAAC,MAAoB;QAC/B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAiB,+BAA+B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AA7JD,kDA6JC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/geckoterminal/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,mBAAmB,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.GeckoterminalClient = void 0;
|
|
19
|
+
__exportStar(require("./types.js"), exports);
|
|
20
|
+
var client_js_1 = require("./client.js");
|
|
21
|
+
Object.defineProperty(exports, "GeckoterminalClient", { enumerable: true, get: function () { return client_js_1.GeckoterminalClient; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/geckoterminal/index.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;;;;;;;;;;;;;;;AAEpE,6CAA2B;AAC3B,yCAAkD;AAAzC,gHAAA,mBAAmB,OAAA"}
|