From 100956485bafa881eb8739cb3cedd2afc30c15b1 Mon Sep 17 00:00:00 2001 From: Sentio Bot Date: Mon, 23 Dec 2024 20:54:08 +0000 Subject: [PATCH] chore: update --- doc/index.html | 12 +++++++----- openapi.json | 4 ++-- src/PriceApi.md | 4 ++-- src/apis/PriceApi.ts | 4 ++-- src/types/ObjectParamAPI.ts | 8 ++++---- src/types/ObservableAPI.ts | 8 ++++---- src/types/PromiseAPI.ts | 8 ++++---- 7 files changed, 25 insertions(+), 23 deletions(-) diff --git a/doc/index.html b/doc/index.html index 33c14db..c566302 100755 --- a/doc/index.html +++ b/doc/index.html @@ -28364,12 +28364,14 @@

Price

addCoinByGecko

-

AddCoinByGecko adds a coin by its coingecko id.

+

Add coin by Gecko

-

coingecko id the API ID of the coin in coingecko web page. +

adds a coin by its coingecko id. + +coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. @@ -28505,7 +28507,7 @@

Usage and SDK Samples

PriceApi *apiInstance = [[PriceApi alloc] init]; PriceServiceAddCoinByGeckoRequest *body = ; // -// AddCoinByGecko adds a coin by its coingecko id. +// Add coin by Gecko [apiInstance addCoinByGeckoWith:body completionHandler: ^(price_service.AddCoinByGeckoResponse output, NSError* error) { if (output) { @@ -28579,7 +28581,7 @@

Usage and SDK Samples

var body = new PriceServiceAddCoinByGeckoRequest(); // PriceServiceAddCoinByGeckoRequest | try { - // AddCoinByGecko adds a coin by its coingecko id. + // Add coin by Gecko price_service.AddCoinByGeckoResponse result = apiInstance.addCoinByGecko(body); Debug.WriteLine(result); } catch (Exception e) { @@ -28668,7 +28670,7 @@

Usage and SDK Samples

body = # PriceServiceAddCoinByGeckoRequest | try: - # AddCoinByGecko adds a coin by its coingecko id. + # Add coin by Gecko api_response = api_instance.add_coin_by_gecko(body) pprint(api_response) except ApiException as e: diff --git a/openapi.json b/openapi.json index c1180b9..58b5243 100644 --- a/openapi.json +++ b/openapi.json @@ -1110,8 +1110,8 @@ }, "/api/v1/prices/add_coin_by_gecko": { "post": { - "summary": "AddCoinByGecko adds a coin by its coingecko id.", - "description": "coingecko id the API ID of the coin in coingecko web page.\n\nplease AWARE that the coingecko id is NOT the same as the symbol of the coin.\n\n![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png)", + "summary": "Add coin by Gecko", + "description": "adds a coin by its coingecko id.\n\ncoingecko id the API ID of the coin in coingecko web page.\n\nplease AWARE that the coingecko id is NOT the same as the symbol of the coin.\n\n![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png)", "operationId": "AddCoinByGecko", "responses": { "200": { diff --git a/src/PriceApi.md b/src/PriceApi.md index 6246179..6975f7d 100755 --- a/src/PriceApi.md +++ b/src/PriceApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://app.sentio.xyz* Method | HTTP request | Description ------------- | ------------- | ------------- -[**addCoinByGecko**](PriceApi.md#addCoinByGecko) | **POST** /api/v1/prices/add_coin_by_gecko | AddCoinByGecko adds a coin by its coingecko id. +[**addCoinByGecko**](PriceApi.md#addCoinByGecko) | **POST** /api/v1/prices/add_coin_by_gecko | Add coin by Gecko [**batchGetPrices**](PriceApi.md#batchGetPrices) | **POST** /api/v1/prices/batch | Batch get prices [**checkLatestPrice**](PriceApi.md#checkLatestPrice) | **GET** /api/v1/prices/check_latest | Check latest price [**getPrice**](PriceApi.md#getPrice) | **GET** /api/v1/prices | Get price @@ -14,7 +14,7 @@ Method | HTTP request | Description # **addCoinByGecko** > PriceServiceAddCoinByGeckoResponse addCoinByGecko(body) -coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) +adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) ### Example diff --git a/src/apis/PriceApi.ts b/src/apis/PriceApi.ts index 9d03f12..8014648 100755 --- a/src/apis/PriceApi.ts +++ b/src/apis/PriceApi.ts @@ -22,8 +22,8 @@ import { PriceServiceListCoinsResponse } from '../models/PriceServiceListCoinsRe export class PriceApiRequestFactory extends BaseAPIRequestFactory { /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param body */ public async addCoinByGecko(body: PriceServiceAddCoinByGeckoRequest, _options?: Configuration): Promise { diff --git a/src/types/ObjectParamAPI.ts b/src/types/ObjectParamAPI.ts index 88051f5..45861a1 100755 --- a/src/types/ObjectParamAPI.ts +++ b/src/types/ObjectParamAPI.ts @@ -2416,8 +2416,8 @@ export class ObjectPriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param param the request object */ public addCoinByGeckoWithHttpInfo(param: PriceApiAddCoinByGeckoRequest, options?: Configuration): Promise> { @@ -2425,8 +2425,8 @@ export class ObjectPriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param param the request object */ public addCoinByGecko(param: PriceApiAddCoinByGeckoRequest, options?: Configuration): Promise { diff --git a/src/types/ObservableAPI.ts b/src/types/ObservableAPI.ts index 5ee8176..1b1322b 100755 --- a/src/types/ObservableAPI.ts +++ b/src/types/ObservableAPI.ts @@ -1878,8 +1878,8 @@ export class ObservablePriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param body */ public addCoinByGeckoWithHttpInfo(body: PriceServiceAddCoinByGeckoRequest, _options?: Configuration): Observable> { @@ -1902,8 +1902,8 @@ export class ObservablePriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param body */ public addCoinByGecko(body: PriceServiceAddCoinByGeckoRequest, _options?: Configuration): Observable { diff --git a/src/types/PromiseAPI.ts b/src/types/PromiseAPI.ts index 2a07518..2c49b56 100755 --- a/src/types/PromiseAPI.ts +++ b/src/types/PromiseAPI.ts @@ -1371,8 +1371,8 @@ export class PromisePriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param body */ public addCoinByGeckoWithHttpInfo(body: PriceServiceAddCoinByGeckoRequest, _options?: Configuration): Promise> { @@ -1381,8 +1381,8 @@ export class PromisePriceApi { } /** - * coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) - * AddCoinByGecko adds a coin by its coingecko id. + * adds a coin by its coingecko id. coingecko id the API ID of the coin in coingecko web page. please AWARE that the coingecko id is NOT the same as the symbol of the coin. ![screenshot](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/coingecko_apiid.png) + * Add coin by Gecko * @param body */ public addCoinByGecko(body: PriceServiceAddCoinByGeckoRequest, _options?: Configuration): Promise {