Skip to content

Commit 9d24fec

Browse files
Merging pull request #18445
* feat: upgrade tokens endpoint to v3 API - Update base URL from v2 to v3 - Add slug parameter for token filtering - Add expand parameter with exchange_list/category_list options - Update component version to 0.1.0 - Enhance endpoint description with market data details * feat: update trading signals endpoint for v3 API - Add slug parameter for token filtering - Add token_name parameter support - Fix marketcap parameter name (was market_cap) - Reorder parameters to match v3 API specification - Update component version to 0.1.0 * feat: update price endpoint for v3 API - Add token_name, symbol, and slug parameters - Update endpoint description to match v3 specification - Update component version to 0.1.0 - Enable enhanced token filtering capabilities * feat: update OHLCV and moonshot endpoints for v3 API - Add slug parameter to daily and hourly OHLCV endpoints - Add sort_by parameter to moonshot tokens endpoint - Reorder parameters to match v3 API specification - Update all component versions to 0.1.0 - Enable enhanced filtering and sorting capabilities * feat: update technology grades and quantmetrics endpoints for v3 API - Add slug parameter to all three endpoints - Add token_name parameter to quantmetrics endpoint - Fix marketcap parameter name in quantmetrics - Update all component versions to 0.1.0 - Enable enhanced token filtering and identification across endpoints * feat: update grades and signals endpoints for v3 API - Add slug parameter to all four endpoints - Add token_name and symbol parameters to hourly trading signals - Add token_name parameter to resistance & support endpoint - Update all component versions to 0.1.0 - Enable enhanced token filtering and identification across all endpoints - Remove required constraint from hourly trading signals token_id parameter * feat: update TM grades, price prediction, and market metrics endpoints for v3 API - Add slug parameter to tm-grades and tm-grades-historical endpoints - Rename scenario-analysis to price-prediction endpoint - Update SCENARIO_ANALYSIS constant to PRICE_PREDICTION in constants - Add token_name and slug parameters to price-prediction endpoint - Update getPricePrediction method name in token_metrics.app.mjs - Update market-metrics component version to 0.1.0 - Remove old scenario-analysis directory after migration - Update all affected component versions to 0.1.0 * feat: update AI reports, top market cap, and crypto investors endpoints for v3 API - Add token_name parameter to ai-reports endpoint - Add expand parameter to top-market-cap-tokens endpoint - Update crypto-investors endpoint version - Update all component versions to 0.1.0 - Enable enhanced filtering and data expansion capabilities * feat: update indices and correlation endpoints for v3 API - Add token_name and slug parameters to correlation endpoint - Update indices, indices-holdings, and indices-performance endpoint versions - Update component versions to 0.1.0 - Enable enhanced filtering capabilities for correlation analysis * refactor: remove unused token-metrics-ai endpoint - Remove get-token-metrics-ai component as it's not needed - Clean up unused TMAI endpoint implementation - Maintain clean codebase for v3 API migration * chore: update token_metrics package version to 0.1.0 - Increment package version to reflect v3 API migration - Align with Pipedream versioning guidelines for updated components - All component versions now consistently at 0.1.0 * fix: update tokenName description in hourly-ohlcv component - Simplify example from 'Bitcoin,Ethereum' to 'Bitcoin' for clarity - Maintain consistency with other component descriptions * refactor: make expand parameter multi-select for better UX - Change expand prop type from 'string' to 'string[]' - Allow users to select both exchange_list and category_list simultaneously - Update description to clarify comma-separated sending behavior - Improve flexibility for data expansion options Addresses coderabbitai suggestion for enhanced user experience
1 parent b52da0e commit 9d24fec

File tree

27 files changed

+330
-82
lines changed

27 files changed

+330
-82
lines changed

components/token_metrics/actions/get-ai-reports/get-ai-reports.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.AI_REPORTS;
99
export default {
1010
key: "token_metrics-get-ai-reports",
1111
name: "Get AI Reports",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/ai-reports)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/ai-reports)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -22,6 +22,12 @@ export default {
2222
],
2323
description: "Select Token IDs to get AI reports for. Example: `37493,3484`",
2424
},
25+
tokenName: {
26+
propDefinition: [
27+
tokenMetrics,
28+
"tokenName",
29+
],
30+
},
2531
symbol: {
2632
propDefinition: [
2733
tokenMetrics,

components/token_metrics/actions/get-correlation/get-correlation.mjs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.CORRELATION;
99
export default {
1010
key: "token_metrics-get-correlation",
1111
name: "Get Correlation",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/correlation)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/correlation)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -21,12 +21,24 @@ export default {
2121
"tokenId",
2222
],
2323
},
24+
tokenName: {
25+
propDefinition: [
26+
tokenMetrics,
27+
"tokenName",
28+
],
29+
},
2430
symbol: {
2531
propDefinition: [
2632
tokenMetrics,
2733
"symbol",
2834
],
2935
},
36+
slug: {
37+
propDefinition: [
38+
tokenMetrics,
39+
"slug",
40+
],
41+
},
3042
category: {
3143
propDefinition: [
3244
tokenMetrics,

components/token_metrics/actions/get-crypto-investors/get-crypto-investors.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.CRYPTO_INVESTORS;
99
export default {
1010
key: "token_metrics-get-crypto-investors",
1111
name: "Get Crypto Investors",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/crypto-investors)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/crypto-investors)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,

components/token_metrics/actions/get-daily-ohlcv/get-daily-ohlcv.mjs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.DAILY_OHLCV;
99
export default {
1010
key: "token_metrics-get-daily-ohlcv",
1111
name: "Get Daily OHLCV",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/daily-ohlcv)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/daily-ohlcv)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -21,18 +21,24 @@ export default {
2121
"tokenId",
2222
],
2323
},
24+
tokenName: {
25+
propDefinition: [
26+
tokenMetrics,
27+
"tokenName",
28+
],
29+
description: "Select crypto asset names to filter results. Example: `Bitcoin`",
30+
},
2431
symbol: {
2532
propDefinition: [
2633
tokenMetrics,
2734
"symbol",
2835
],
2936
},
30-
tokenName: {
37+
slug: {
3138
propDefinition: [
3239
tokenMetrics,
33-
"tokenName",
40+
"slug",
3441
],
35-
description: "Select crypto asset names to filter results. Example: `Bitcoin`",
3642
},
3743
startDate: {
3844
propDefinition: [

components/token_metrics/actions/get-fundamental-grades-historical/get-fundamental-grades-historical.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.FUNDAMENTAL_GRADES_HISTORICAL;
99
export default {
1010
key: "token_metrics-get-fundamental-grades-historical",
1111
name: "Get Fundamental Grades Historical",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/fundamental-grade-history)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/fundamental-grade-history)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -34,6 +34,12 @@ export default {
3434
"symbol",
3535
],
3636
},
37+
slug: {
38+
propDefinition: [
39+
tokenMetrics,
40+
"slug",
41+
],
42+
},
3743
startDate: {
3844
propDefinition: [
3945
tokenMetrics,

components/token_metrics/actions/get-fundamental-grades/get-fundamental-grades.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.FUNDAMENTAL_GRADES;
99
export default {
1010
key: "token_metrics-get-fundamental-grades",
1111
name: "Get Fundamental Grades",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/fundamental-grade)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/fundamental-grade)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -34,6 +34,12 @@ export default {
3434
"symbol",
3535
],
3636
},
37+
slug: {
38+
propDefinition: [
39+
tokenMetrics,
40+
"slug",
41+
],
42+
},
3743
// Pagination props
3844
limit: {
3945
propDefinition: [

components/token_metrics/actions/get-hourly-ohlcv/get-hourly-ohlcv.mjs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.HOURLY_OHLCV;
99
export default {
1010
key: "token_metrics-get-hourly-ohlcv",
1111
name: "Get Hourly OHLCV",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/hourly-ohlcv)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/hourly-ohlcv)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -21,18 +21,24 @@ export default {
2121
"tokenId",
2222
],
2323
},
24+
tokenName: {
25+
propDefinition: [
26+
tokenMetrics,
27+
"tokenName",
28+
],
29+
description: "Select crypto asset names to filter results. Example: `Bitcoin`",
30+
},
2431
symbol: {
2532
propDefinition: [
2633
tokenMetrics,
2734
"symbol",
2835
],
2936
},
30-
tokenName: {
37+
slug: {
3138
propDefinition: [
3239
tokenMetrics,
33-
"tokenName",
40+
"slug",
3441
],
35-
description: "Select crypto asset names to filter results. Example: `Bitcoin,Ethereum`",
3642
},
3743
startDate: {
3844
propDefinition: [

components/token_metrics/actions/get-hourly-trading-signals/get-hourly-trading-signals.mjs

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.HOURLY_TRADING_SIGNALS;
99
export default {
1010
key: "token_metrics-get-hourly-trading-signals",
1111
name: "Get Hourly Trading Signals",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/hourly-trading-signals)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/hourly-trading-signals)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,
@@ -21,7 +21,24 @@ export default {
2121
"tokenId",
2222
],
2323
description: "Select Token IDs to filter results",
24-
optional: false,
24+
},
25+
tokenName: {
26+
propDefinition: [
27+
tokenMetrics,
28+
"tokenName",
29+
],
30+
},
31+
symbol: {
32+
propDefinition: [
33+
tokenMetrics,
34+
"symbol",
35+
],
36+
},
37+
slug: {
38+
propDefinition: [
39+
tokenMetrics,
40+
"slug",
41+
],
2542
},
2643
// Pagination props
2744
limit: {

components/token_metrics/actions/get-indices-holdings/get-indices-holdings.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.INDICES_HOLDINGS;
99
export default {
1010
key: "token_metrics-get-indices-holdings",
1111
name: "Get Indices Holdings",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/indices-holdings)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/indices-holdings)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,

components/token_metrics/actions/get-indices-performance/get-indices-performance.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const endpoint = ENDPOINTS.INDICES_PERFORMANCE;
99
export default {
1010
key: "token_metrics-get-indices-performance",
1111
name: "Get Indices Performance",
12-
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/reference/indices-performance)`,
13-
version: "0.0.1",
12+
description: `${endpoint.description}. [See the documentation](https://developers.tokenmetrics.com/v3/reference/indices-performance)`,
13+
version: "0.1.0",
1414
type: "action",
1515
props: {
1616
tokenMetrics,

0 commit comments

Comments
 (0)