Documentation ¶
Overview ¶
Package coingeckov3 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- func NewGetAssetPlatformsRequest(server string) (*http.Request, error)
- func NewGetCoinsCategoriesListRequest(server string) (*http.Request, error)
- func NewGetCoinsCategoriesRequest(server string, params *GetCoinsCategoriesParams) (*http.Request, error)
- func NewGetCoinsIdContractContractAddressMarketChartRangeRequest(server string, id string, contractAddress string, ...) (*http.Request, error)
- func NewGetCoinsIdContractContractAddressMarketChartRequest(server string, id string, contractAddress string, ...) (*http.Request, error)
- func NewGetCoinsIdContractContractAddressRequest(server string, id string, contractAddress string) (*http.Request, error)
- func NewGetCoinsIdHistoryRequest(server string, id string, params *GetCoinsIdHistoryParams) (*http.Request, error)
- func NewGetCoinsIdMarketChartRangeRequest(server string, id string, params *GetCoinsIdMarketChartRangeParams) (*http.Request, error)
- func NewGetCoinsIdMarketChartRequest(server string, id string, params *GetCoinsIdMarketChartParams) (*http.Request, error)
- func NewGetCoinsIdOhlcRequest(server string, id string, params *GetCoinsIdOhlcParams) (*http.Request, error)
- func NewGetCoinsIdRequest(server string, id string, params *GetCoinsIdParams) (*http.Request, error)
- func NewGetCoinsIdTickersRequest(server string, id string, params *GetCoinsIdTickersParams) (*http.Request, error)
- func NewGetCoinsListRequest(server string, params *GetCoinsListParams) (*http.Request, error)
- func NewGetCoinsMarketsRequest(server string, params *GetCoinsMarketsParams) (*http.Request, error)
- func NewGetDerivativesExchangesIdRequest(server string, id string, params *GetDerivativesExchangesIdParams) (*http.Request, error)
- func NewGetDerivativesExchangesListRequest(server string) (*http.Request, error)
- func NewGetDerivativesExchangesRequest(server string, params *GetDerivativesExchangesParams) (*http.Request, error)
- func NewGetDerivativesRequest(server string, params *GetDerivativesParams) (*http.Request, error)
- func NewGetExchangeRatesRequest(server string) (*http.Request, error)
- func NewGetExchangeRequest(server string, id string) (*http.Request, error)
- func NewGetExchangesIdTickersRequest(server string, id string, params *GetExchangesIdTickersParams) (*http.Request, error)
- func NewGetExchangesIdVolumeChartRequest(server string, id string, params *GetExchangesIdVolumeChartParams) (*http.Request, error)
- func NewGetExchangesListRequest(server string) (*http.Request, error)
- func NewGetExchangesRequest(server string, params *GetExchangesParams) (*http.Request, error)
- func NewGetGlobalRequest(server string) (*http.Request, error)
- func NewGetIndexesListRequest(server string) (*http.Request, error)
- func NewGetIndexesMarketIdIdRequest(server string, marketId string, id string) (*http.Request, error)
- func NewGetIndexesRequest(server string, params *GetIndexesParams) (*http.Request, error)
- func NewGetPingRequest(server string) (*http.Request, error)
- func NewGetSearchTrendingRequest(server string) (*http.Request, error)
- func NewGetSimplePriceRequest(server string, params *GetSimplePriceParams) (*http.Request, error)
- func NewGetSimpleSupportedVsCurrenciesRequest(server string) (*http.Request, error)
- func NewGetSimpleTokenPriceIdRequest(server string, id string, params *GetSimpleTokenPriceIdParams) (*http.Request, error)
- type Client
- func (c *Client) GetAssetPlatforms(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCoinsCategories(ctx context.Context, params *GetCoinsCategoriesParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsCategoriesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCoinsId(ctx context.Context, id string, params *GetCoinsIdParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdContractContractAddress(ctx context.Context, id string, contractAddress string, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdContractContractAddressMarketChart(ctx context.Context, id string, contractAddress string, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdContractContractAddressMarketChartRange(ctx context.Context, id string, contractAddress string, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdHistory(ctx context.Context, id string, params *GetCoinsIdHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdMarketChart(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdMarketChartRange(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdOhlc(ctx context.Context, id string, params *GetCoinsIdOhlcParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsIdTickers(ctx context.Context, id string, params *GetCoinsIdTickersParams, ...) (*http.Response, error)
- func (c *Client) GetCoinsList(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCoinsMarkets(ctx context.Context, params *GetCoinsMarketsParams, ...) (*http.Response, error)
- func (c *Client) GetDerivatives(ctx context.Context, params *GetDerivativesParams, ...) (*http.Response, error)
- func (c *Client) GetDerivativesExchanges(ctx context.Context, params *GetDerivativesExchangesParams, ...) (*http.Response, error)
- func (c *Client) GetDerivativesExchangesId(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, ...) (*http.Response, error)
- func (c *Client) GetDerivativesExchangesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExchange(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExchangeRates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExchanges(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExchangesIdTickers(ctx context.Context, id string, params *GetExchangesIdTickersParams, ...) (*http.Response, error)
- func (c *Client) GetExchangesIdVolumeChart(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, ...) (*http.Response, error)
- func (c *Client) GetExchangesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGlobal(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIndexes(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIndexesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIndexesMarketIdId(ctx context.Context, marketId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSearchTrending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimplePrice(ctx context.Context, params *GetSimplePriceParams, ...) (*http.Response, error)
- func (c *Client) GetSimpleSupportedVsCurrencies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimpleTokenPriceId(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetAssetPlatformsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAssetPlatformsResponse, error)
- func (c *ClientWithResponses) GetCoinsCategoriesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCoinsCategoriesListResponse, error)
- func (c *ClientWithResponses) GetCoinsCategoriesWithResponse(ctx context.Context, params *GetCoinsCategoriesParams, ...) (*GetCoinsCategoriesResponse, error)
- func (c *ClientWithResponses) GetCoinsIdContractContractAddressMarketChartRangeWithResponse(ctx context.Context, id string, contractAddress string, ...) (*GetCoinsIdContractContractAddressMarketChartRangeResponse, error)
- func (c *ClientWithResponses) GetCoinsIdContractContractAddressMarketChartWithResponse(ctx context.Context, id string, contractAddress string, ...) (*GetCoinsIdContractContractAddressMarketChartResponse, error)
- func (c *ClientWithResponses) GetCoinsIdContractContractAddressWithResponse(ctx context.Context, id string, contractAddress string, ...) (*GetCoinsIdContractContractAddressResponse, error)
- func (c *ClientWithResponses) GetCoinsIdHistoryWithResponse(ctx context.Context, id string, params *GetCoinsIdHistoryParams, ...) (*GetCoinsIdHistoryResponse, error)
- func (c *ClientWithResponses) GetCoinsIdMarketChartRangeWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, ...) (*GetCoinsIdMarketChartRangeResponse, error)
- func (c *ClientWithResponses) GetCoinsIdMarketChartWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, ...) (*GetCoinsIdMarketChartResponse, error)
- func (c *ClientWithResponses) GetCoinsIdOhlcWithResponse(ctx context.Context, id string, params *GetCoinsIdOhlcParams, ...) (*GetCoinsIdOhlcResponse, error)
- func (c *ClientWithResponses) GetCoinsIdTickersWithResponse(ctx context.Context, id string, params *GetCoinsIdTickersParams, ...) (*GetCoinsIdTickersResponse, error)
- func (c *ClientWithResponses) GetCoinsIdWithResponse(ctx context.Context, id string, params *GetCoinsIdParams, ...) (*GetCoinsIdResponse, error)
- func (c *ClientWithResponses) GetCoinsListWithResponse(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*GetCoinsListResponse, error)
- func (c *ClientWithResponses) GetCoinsMarketsWithResponse(ctx context.Context, params *GetCoinsMarketsParams, ...) (*GetCoinsMarketsResponse, error)
- func (c *ClientWithResponses) GetDerivativesExchangesIdWithResponse(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, ...) (*GetDerivativesExchangesIdResponse, error)
- func (c *ClientWithResponses) GetDerivativesExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesListResponse, error)
- func (c *ClientWithResponses) GetDerivativesExchangesWithResponse(ctx context.Context, params *GetDerivativesExchangesParams, ...) (*GetDerivativesExchangesResponse, error)
- func (c *ClientWithResponses) GetDerivativesWithResponse(ctx context.Context, params *GetDerivativesParams, ...) (*GetDerivativesResponse, error)
- func (c *ClientWithResponses) GetExchangeRatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangeRatesResponse, error)
- func (c *ClientWithResponses) GetExchangeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetExchangeResponse, error)
- func (c *ClientWithResponses) GetExchangesIdTickersWithResponse(ctx context.Context, id string, params *GetExchangesIdTickersParams, ...) (*GetExchangesIdTickersResponse, error)
- func (c *ClientWithResponses) GetExchangesIdVolumeChartWithResponse(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, ...) (*GetExchangesIdVolumeChartResponse, error)
- func (c *ClientWithResponses) GetExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangesListResponse, error)
- func (c *ClientWithResponses) GetExchangesWithResponse(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*GetExchangesResponse, error)
- func (c *ClientWithResponses) GetGlobalWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalResponse, error)
- func (c *ClientWithResponses) GetIndexesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIndexesListResponse, error)
- func (c *ClientWithResponses) GetIndexesMarketIdIdWithResponse(ctx context.Context, marketId string, id string, reqEditors ...RequestEditorFn) (*GetIndexesMarketIdIdResponse, error)
- func (c *ClientWithResponses) GetIndexesWithResponse(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*GetIndexesResponse, error)
- func (c *ClientWithResponses) GetPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPingResponse, error)
- func (c *ClientWithResponses) GetSearchTrendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchTrendingResponse, error)
- func (c *ClientWithResponses) GetSimplePriceWithResponse(ctx context.Context, params *GetSimplePriceParams, ...) (*GetSimplePriceResponse, error)
- func (c *ClientWithResponses) GetSimpleSupportedVsCurrenciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSimpleSupportedVsCurrenciesResponse, error)
- func (c *ClientWithResponses) GetSimpleTokenPriceIdWithResponse(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, ...) (*GetSimpleTokenPriceIdResponse, error)
- type ClientWithResponsesInterface
- type Coin
- type ConvertedDetails
- type Exchange
- type ExchangeDetails
- type ExchangeIdName
- type GetAssetPlatformsResponse
- type GetCoinsCategoriesListResponse
- type GetCoinsCategoriesParams
- type GetCoinsCategoriesResponse
- type GetCoinsIdContractContractAddressMarketChartParams
- type GetCoinsIdContractContractAddressMarketChartRangeParams
- type GetCoinsIdContractContractAddressMarketChartRangeResponse
- type GetCoinsIdContractContractAddressMarketChartResponse
- type GetCoinsIdContractContractAddressResponse
- type GetCoinsIdHistoryParams
- type GetCoinsIdHistoryResponse
- type GetCoinsIdMarketChartParams
- type GetCoinsIdMarketChartRangeParams
- type GetCoinsIdMarketChartRangeResponse
- type GetCoinsIdMarketChartResponse
- type GetCoinsIdOhlcParams
- type GetCoinsIdOhlcResponse
- type GetCoinsIdParams
- type GetCoinsIdResponse
- type GetCoinsIdTickersParams
- type GetCoinsIdTickersResponse
- type GetCoinsListParams
- type GetCoinsListResponse
- type GetCoinsMarketsParams
- type GetCoinsMarketsResponse
- type GetDerivativesExchangesIdParams
- type GetDerivativesExchangesIdResponse
- type GetDerivativesExchangesListResponse
- type GetDerivativesExchangesParams
- type GetDerivativesExchangesResponse
- type GetDerivativesParams
- type GetDerivativesResponse
- type GetExchangeRatesResponse
- type GetExchangeResponse
- type GetExchangesIdTickersParams
- type GetExchangesIdTickersResponse
- type GetExchangesIdVolumeChartParams
- type GetExchangesIdVolumeChartResponse
- type GetExchangesListResponse
- type GetExchangesParams
- type GetExchangesResponse
- type GetGlobalResponse
- type GetIndexesListResponse
- type GetIndexesMarketIdIdResponse
- type GetIndexesParams
- type GetIndexesResponse
- type GetPingResponse
- type GetSearchTrendingResponse
- type GetSimplePriceParams
- type GetSimplePriceResponse
- type GetSimpleSupportedVsCurrenciesResponse
- type GetSimpleTokenPriceIdParams
- type GetSimpleTokenPriceIdResponse
- type HttpRequestDoer
- type Image
- type Market
- type Project
- type RequestEditorFn
- type StatusUpdate
- type Ticker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetAssetPlatformsRequest ¶
NewGetAssetPlatformsRequest generates requests for GetAssetPlatforms
func NewGetCoinsCategoriesListRequest ¶
NewGetCoinsCategoriesListRequest generates requests for GetCoinsCategoriesList
func NewGetCoinsCategoriesRequest ¶
func NewGetCoinsCategoriesRequest(server string, params *GetCoinsCategoriesParams) (*http.Request, error)
NewGetCoinsCategoriesRequest generates requests for GetCoinsCategories
func NewGetCoinsIdContractContractAddressMarketChartRangeRequest ¶
func NewGetCoinsIdContractContractAddressMarketChartRangeRequest(server string, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartRangeParams) (*http.Request, error)
NewGetCoinsIdContractContractAddressMarketChartRangeRequest generates requests for GetCoinsIdContractContractAddressMarketChartRange
func NewGetCoinsIdContractContractAddressMarketChartRequest ¶
func NewGetCoinsIdContractContractAddressMarketChartRequest(server string, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartParams) (*http.Request, error)
NewGetCoinsIdContractContractAddressMarketChartRequest generates requests for GetCoinsIdContractContractAddressMarketChart
func NewGetCoinsIdContractContractAddressRequest ¶
func NewGetCoinsIdContractContractAddressRequest(server string, id string, contractAddress string) (*http.Request, error)
NewGetCoinsIdContractContractAddressRequest generates requests for GetCoinsIdContractContractAddress
func NewGetCoinsIdHistoryRequest ¶
func NewGetCoinsIdHistoryRequest(server string, id string, params *GetCoinsIdHistoryParams) (*http.Request, error)
NewGetCoinsIdHistoryRequest generates requests for GetCoinsIdHistory
func NewGetCoinsIdMarketChartRangeRequest ¶
func NewGetCoinsIdMarketChartRangeRequest(server string, id string, params *GetCoinsIdMarketChartRangeParams) (*http.Request, error)
NewGetCoinsIdMarketChartRangeRequest generates requests for GetCoinsIdMarketChartRange
func NewGetCoinsIdMarketChartRequest ¶
func NewGetCoinsIdMarketChartRequest(server string, id string, params *GetCoinsIdMarketChartParams) (*http.Request, error)
NewGetCoinsIdMarketChartRequest generates requests for GetCoinsIdMarketChart
func NewGetCoinsIdOhlcRequest ¶
func NewGetCoinsIdOhlcRequest(server string, id string, params *GetCoinsIdOhlcParams) (*http.Request, error)
NewGetCoinsIdOhlcRequest generates requests for GetCoinsIdOhlc
func NewGetCoinsIdRequest ¶
func NewGetCoinsIdRequest(server string, id string, params *GetCoinsIdParams) (*http.Request, error)
NewGetCoinsIdRequest generates requests for GetCoinsId
func NewGetCoinsIdTickersRequest ¶
func NewGetCoinsIdTickersRequest(server string, id string, params *GetCoinsIdTickersParams) (*http.Request, error)
NewGetCoinsIdTickersRequest generates requests for GetCoinsIdTickers
func NewGetCoinsListRequest ¶
func NewGetCoinsListRequest(server string, params *GetCoinsListParams) (*http.Request, error)
NewGetCoinsListRequest generates requests for GetCoinsList
func NewGetCoinsMarketsRequest ¶
func NewGetCoinsMarketsRequest(server string, params *GetCoinsMarketsParams) (*http.Request, error)
NewGetCoinsMarketsRequest generates requests for GetCoinsMarkets
func NewGetDerivativesExchangesIdRequest ¶
func NewGetDerivativesExchangesIdRequest(server string, id string, params *GetDerivativesExchangesIdParams) (*http.Request, error)
NewGetDerivativesExchangesIdRequest generates requests for GetDerivativesExchangesId
func NewGetDerivativesExchangesListRequest ¶
NewGetDerivativesExchangesListRequest generates requests for GetDerivativesExchangesList
func NewGetDerivativesExchangesRequest ¶
func NewGetDerivativesExchangesRequest(server string, params *GetDerivativesExchangesParams) (*http.Request, error)
NewGetDerivativesExchangesRequest generates requests for GetDerivativesExchanges
func NewGetDerivativesRequest ¶
func NewGetDerivativesRequest(server string, params *GetDerivativesParams) (*http.Request, error)
NewGetDerivativesRequest generates requests for GetDerivatives
func NewGetExchangeRatesRequest ¶
NewGetExchangeRatesRequest generates requests for GetExchangeRates
func NewGetExchangeRequest ¶
NewGetExchangeRequest generates requests for GetExchange
func NewGetExchangesIdTickersRequest ¶
func NewGetExchangesIdTickersRequest(server string, id string, params *GetExchangesIdTickersParams) (*http.Request, error)
NewGetExchangesIdTickersRequest generates requests for GetExchangesIdTickers
func NewGetExchangesIdVolumeChartRequest ¶
func NewGetExchangesIdVolumeChartRequest(server string, id string, params *GetExchangesIdVolumeChartParams) (*http.Request, error)
NewGetExchangesIdVolumeChartRequest generates requests for GetExchangesIdVolumeChart
func NewGetExchangesListRequest ¶
NewGetExchangesListRequest generates requests for GetExchangesList
func NewGetExchangesRequest ¶
func NewGetExchangesRequest(server string, params *GetExchangesParams) (*http.Request, error)
NewGetExchangesRequest generates requests for GetExchanges
func NewGetGlobalRequest ¶
NewGetGlobalRequest generates requests for GetGlobal
func NewGetIndexesListRequest ¶
NewGetIndexesListRequest generates requests for GetIndexesList
func NewGetIndexesMarketIdIdRequest ¶
func NewGetIndexesMarketIdIdRequest(server string, marketId string, id string) (*http.Request, error)
NewGetIndexesMarketIdIdRequest generates requests for GetIndexesMarketIdId
func NewGetIndexesRequest ¶
func NewGetIndexesRequest(server string, params *GetIndexesParams) (*http.Request, error)
NewGetIndexesRequest generates requests for GetIndexes
func NewGetPingRequest ¶
NewGetPingRequest generates requests for GetPing
func NewGetSearchTrendingRequest ¶
NewGetSearchTrendingRequest generates requests for GetSearchTrending
func NewGetSimplePriceRequest ¶
func NewGetSimplePriceRequest(server string, params *GetSimplePriceParams) (*http.Request, error)
NewGetSimplePriceRequest generates requests for GetSimplePrice
func NewGetSimpleSupportedVsCurrenciesRequest ¶
NewGetSimpleSupportedVsCurrenciesRequest generates requests for GetSimpleSupportedVsCurrencies
func NewGetSimpleTokenPriceIdRequest ¶
func NewGetSimpleTokenPriceIdRequest(server string, id string, params *GetSimpleTokenPriceIdParams) (*http.Request, error)
NewGetSimpleTokenPriceIdRequest generates requests for GetSimpleTokenPriceId
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) GetAssetPlatforms ¶
func (*Client) GetCoinsCategories ¶
func (c *Client) GetCoinsCategories(ctx context.Context, params *GetCoinsCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsCategoriesList ¶
func (*Client) GetCoinsId ¶
func (c *Client) GetCoinsId(ctx context.Context, id string, params *GetCoinsIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdContractContractAddress ¶
func (*Client) GetCoinsIdContractContractAddressMarketChart ¶
func (c *Client) GetCoinsIdContractContractAddressMarketChart(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdContractContractAddressMarketChartRange ¶
func (c *Client) GetCoinsIdContractContractAddressMarketChartRange(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdHistory ¶
func (c *Client) GetCoinsIdHistory(ctx context.Context, id string, params *GetCoinsIdHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdMarketChart ¶
func (c *Client) GetCoinsIdMarketChart(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdMarketChartRange ¶
func (c *Client) GetCoinsIdMarketChartRange(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdOhlc ¶
func (c *Client) GetCoinsIdOhlc(ctx context.Context, id string, params *GetCoinsIdOhlcParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsIdTickers ¶
func (c *Client) GetCoinsIdTickers(ctx context.Context, id string, params *GetCoinsIdTickersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsList ¶
func (c *Client) GetCoinsList(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCoinsMarkets ¶
func (c *Client) GetCoinsMarkets(ctx context.Context, params *GetCoinsMarketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDerivatives ¶
func (c *Client) GetDerivatives(ctx context.Context, params *GetDerivativesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDerivativesExchanges ¶
func (c *Client) GetDerivativesExchanges(ctx context.Context, params *GetDerivativesExchangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDerivativesExchangesId ¶
func (c *Client) GetDerivativesExchangesId(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDerivativesExchangesList ¶
func (*Client) GetExchange ¶
func (*Client) GetExchangeRates ¶
func (*Client) GetExchanges ¶
func (c *Client) GetExchanges(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetExchangesIdTickers ¶
func (c *Client) GetExchangesIdTickers(ctx context.Context, id string, params *GetExchangesIdTickersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetExchangesIdVolumeChart ¶
func (c *Client) GetExchangesIdVolumeChart(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetExchangesList ¶
func (*Client) GetIndexes ¶
func (c *Client) GetIndexes(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIndexesList ¶
func (*Client) GetIndexesMarketIdId ¶
func (*Client) GetSearchTrending ¶
func (*Client) GetSimplePrice ¶
func (c *Client) GetSimplePrice(ctx context.Context, params *GetSimplePriceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSimpleSupportedVsCurrencies ¶
func (*Client) GetSimpleTokenPriceId ¶
func (c *Client) GetSimpleTokenPriceId(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // GetAssetPlatforms request GetAssetPlatforms(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsCategories request GetCoinsCategories(ctx context.Context, params *GetCoinsCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsCategoriesList request GetCoinsCategoriesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsList request GetCoinsList(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsMarkets request GetCoinsMarkets(ctx context.Context, params *GetCoinsMarketsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsId request GetCoinsId(ctx context.Context, id string, params *GetCoinsIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdContractContractAddress request GetCoinsIdContractContractAddress(ctx context.Context, id string, contractAddress string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdContractContractAddressMarketChart request GetCoinsIdContractContractAddressMarketChart(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdContractContractAddressMarketChartRange request GetCoinsIdContractContractAddressMarketChartRange(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdHistory request GetCoinsIdHistory(ctx context.Context, id string, params *GetCoinsIdHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdMarketChart request GetCoinsIdMarketChart(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdMarketChartRange request GetCoinsIdMarketChartRange(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdOhlc request GetCoinsIdOhlc(ctx context.Context, id string, params *GetCoinsIdOhlcParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoinsIdTickers request GetCoinsIdTickers(ctx context.Context, id string, params *GetCoinsIdTickersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDerivatives request GetDerivatives(ctx context.Context, params *GetDerivativesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDerivativesExchanges request GetDerivativesExchanges(ctx context.Context, params *GetDerivativesExchangesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDerivativesExchangesList request GetDerivativesExchangesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDerivativesExchangesId request GetDerivativesExchangesId(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchangeRates request GetExchangeRates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchanges request GetExchanges(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchangesList request GetExchangesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchange request GetExchange(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchangesIdTickers request GetExchangesIdTickers(ctx context.Context, id string, params *GetExchangesIdTickersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExchangesIdVolumeChart request GetExchangesIdVolumeChart(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGlobal request GetGlobal(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIndexes request GetIndexes(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIndexesList request GetIndexesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIndexesMarketIdId request GetIndexesMarketIdId(ctx context.Context, marketId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPing request GetPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchTrending request GetSearchTrending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimplePrice request GetSimplePrice(ctx context.Context, params *GetSimplePriceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleSupportedVsCurrencies request GetSimpleSupportedVsCurrencies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSimpleTokenPriceId request GetSimpleTokenPriceId(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GetAssetPlatformsWithResponse ¶
func (c *ClientWithResponses) GetAssetPlatformsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAssetPlatformsResponse, error)
GetAssetPlatformsWithResponse request returning *GetAssetPlatformsResponse
func (*ClientWithResponses) GetCoinsCategoriesListWithResponse ¶
func (c *ClientWithResponses) GetCoinsCategoriesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCoinsCategoriesListResponse, error)
GetCoinsCategoriesListWithResponse request returning *GetCoinsCategoriesListResponse
func (*ClientWithResponses) GetCoinsCategoriesWithResponse ¶
func (c *ClientWithResponses) GetCoinsCategoriesWithResponse(ctx context.Context, params *GetCoinsCategoriesParams, reqEditors ...RequestEditorFn) (*GetCoinsCategoriesResponse, error)
GetCoinsCategoriesWithResponse request returning *GetCoinsCategoriesResponse
func (*ClientWithResponses) GetCoinsIdContractContractAddressMarketChartRangeWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdContractContractAddressMarketChartRangeWithResponse(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartRangeParams, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressMarketChartRangeResponse, error)
GetCoinsIdContractContractAddressMarketChartRangeWithResponse request returning *GetCoinsIdContractContractAddressMarketChartRangeResponse
func (*ClientWithResponses) GetCoinsIdContractContractAddressMarketChartWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdContractContractAddressMarketChartWithResponse(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartParams, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressMarketChartResponse, error)
GetCoinsIdContractContractAddressMarketChartWithResponse request returning *GetCoinsIdContractContractAddressMarketChartResponse
func (*ClientWithResponses) GetCoinsIdContractContractAddressWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdContractContractAddressWithResponse(ctx context.Context, id string, contractAddress string, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressResponse, error)
GetCoinsIdContractContractAddressWithResponse request returning *GetCoinsIdContractContractAddressResponse
func (*ClientWithResponses) GetCoinsIdHistoryWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdHistoryWithResponse(ctx context.Context, id string, params *GetCoinsIdHistoryParams, reqEditors ...RequestEditorFn) (*GetCoinsIdHistoryResponse, error)
GetCoinsIdHistoryWithResponse request returning *GetCoinsIdHistoryResponse
func (*ClientWithResponses) GetCoinsIdMarketChartRangeWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdMarketChartRangeWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, reqEditors ...RequestEditorFn) (*GetCoinsIdMarketChartRangeResponse, error)
GetCoinsIdMarketChartRangeWithResponse request returning *GetCoinsIdMarketChartRangeResponse
func (*ClientWithResponses) GetCoinsIdMarketChartWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdMarketChartWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, reqEditors ...RequestEditorFn) (*GetCoinsIdMarketChartResponse, error)
GetCoinsIdMarketChartWithResponse request returning *GetCoinsIdMarketChartResponse
func (*ClientWithResponses) GetCoinsIdOhlcWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdOhlcWithResponse(ctx context.Context, id string, params *GetCoinsIdOhlcParams, reqEditors ...RequestEditorFn) (*GetCoinsIdOhlcResponse, error)
GetCoinsIdOhlcWithResponse request returning *GetCoinsIdOhlcResponse
func (*ClientWithResponses) GetCoinsIdTickersWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdTickersWithResponse(ctx context.Context, id string, params *GetCoinsIdTickersParams, reqEditors ...RequestEditorFn) (*GetCoinsIdTickersResponse, error)
GetCoinsIdTickersWithResponse request returning *GetCoinsIdTickersResponse
func (*ClientWithResponses) GetCoinsIdWithResponse ¶
func (c *ClientWithResponses) GetCoinsIdWithResponse(ctx context.Context, id string, params *GetCoinsIdParams, reqEditors ...RequestEditorFn) (*GetCoinsIdResponse, error)
GetCoinsIdWithResponse request returning *GetCoinsIdResponse
func (*ClientWithResponses) GetCoinsListWithResponse ¶
func (c *ClientWithResponses) GetCoinsListWithResponse(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*GetCoinsListResponse, error)
GetCoinsListWithResponse request returning *GetCoinsListResponse
func (*ClientWithResponses) GetCoinsMarketsWithResponse ¶
func (c *ClientWithResponses) GetCoinsMarketsWithResponse(ctx context.Context, params *GetCoinsMarketsParams, reqEditors ...RequestEditorFn) (*GetCoinsMarketsResponse, error)
GetCoinsMarketsWithResponse request returning *GetCoinsMarketsResponse
func (*ClientWithResponses) GetDerivativesExchangesIdWithResponse ¶
func (c *ClientWithResponses) GetDerivativesExchangesIdWithResponse(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesIdResponse, error)
GetDerivativesExchangesIdWithResponse request returning *GetDerivativesExchangesIdResponse
func (*ClientWithResponses) GetDerivativesExchangesListWithResponse ¶
func (c *ClientWithResponses) GetDerivativesExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesListResponse, error)
GetDerivativesExchangesListWithResponse request returning *GetDerivativesExchangesListResponse
func (*ClientWithResponses) GetDerivativesExchangesWithResponse ¶
func (c *ClientWithResponses) GetDerivativesExchangesWithResponse(ctx context.Context, params *GetDerivativesExchangesParams, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesResponse, error)
GetDerivativesExchangesWithResponse request returning *GetDerivativesExchangesResponse
func (*ClientWithResponses) GetDerivativesWithResponse ¶
func (c *ClientWithResponses) GetDerivativesWithResponse(ctx context.Context, params *GetDerivativesParams, reqEditors ...RequestEditorFn) (*GetDerivativesResponse, error)
GetDerivativesWithResponse request returning *GetDerivativesResponse
func (*ClientWithResponses) GetExchangeRatesWithResponse ¶
func (c *ClientWithResponses) GetExchangeRatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangeRatesResponse, error)
GetExchangeRatesWithResponse request returning *GetExchangeRatesResponse
func (*ClientWithResponses) GetExchangeWithResponse ¶
func (c *ClientWithResponses) GetExchangeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetExchangeResponse, error)
GetExchangeWithResponse request returning *GetExchangeResponse
func (*ClientWithResponses) GetExchangesIdTickersWithResponse ¶
func (c *ClientWithResponses) GetExchangesIdTickersWithResponse(ctx context.Context, id string, params *GetExchangesIdTickersParams, reqEditors ...RequestEditorFn) (*GetExchangesIdTickersResponse, error)
GetExchangesIdTickersWithResponse request returning *GetExchangesIdTickersResponse
func (*ClientWithResponses) GetExchangesIdVolumeChartWithResponse ¶
func (c *ClientWithResponses) GetExchangesIdVolumeChartWithResponse(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, reqEditors ...RequestEditorFn) (*GetExchangesIdVolumeChartResponse, error)
GetExchangesIdVolumeChartWithResponse request returning *GetExchangesIdVolumeChartResponse
func (*ClientWithResponses) GetExchangesListWithResponse ¶
func (c *ClientWithResponses) GetExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangesListResponse, error)
GetExchangesListWithResponse request returning *GetExchangesListResponse
func (*ClientWithResponses) GetExchangesWithResponse ¶
func (c *ClientWithResponses) GetExchangesWithResponse(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*GetExchangesResponse, error)
GetExchangesWithResponse request returning *GetExchangesResponse
func (*ClientWithResponses) GetGlobalWithResponse ¶
func (c *ClientWithResponses) GetGlobalWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalResponse, error)
GetGlobalWithResponse request returning *GetGlobalResponse
func (*ClientWithResponses) GetIndexesListWithResponse ¶
func (c *ClientWithResponses) GetIndexesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIndexesListResponse, error)
GetIndexesListWithResponse request returning *GetIndexesListResponse
func (*ClientWithResponses) GetIndexesMarketIdIdWithResponse ¶
func (c *ClientWithResponses) GetIndexesMarketIdIdWithResponse(ctx context.Context, marketId string, id string, reqEditors ...RequestEditorFn) (*GetIndexesMarketIdIdResponse, error)
GetIndexesMarketIdIdWithResponse request returning *GetIndexesMarketIdIdResponse
func (*ClientWithResponses) GetIndexesWithResponse ¶
func (c *ClientWithResponses) GetIndexesWithResponse(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*GetIndexesResponse, error)
GetIndexesWithResponse request returning *GetIndexesResponse
func (*ClientWithResponses) GetPingWithResponse ¶
func (c *ClientWithResponses) GetPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPingResponse, error)
GetPingWithResponse request returning *GetPingResponse
func (*ClientWithResponses) GetSearchTrendingWithResponse ¶
func (c *ClientWithResponses) GetSearchTrendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchTrendingResponse, error)
GetSearchTrendingWithResponse request returning *GetSearchTrendingResponse
func (*ClientWithResponses) GetSimplePriceWithResponse ¶
func (c *ClientWithResponses) GetSimplePriceWithResponse(ctx context.Context, params *GetSimplePriceParams, reqEditors ...RequestEditorFn) (*GetSimplePriceResponse, error)
GetSimplePriceWithResponse request returning *GetSimplePriceResponse
func (*ClientWithResponses) GetSimpleSupportedVsCurrenciesWithResponse ¶
func (c *ClientWithResponses) GetSimpleSupportedVsCurrenciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSimpleSupportedVsCurrenciesResponse, error)
GetSimpleSupportedVsCurrenciesWithResponse request returning *GetSimpleSupportedVsCurrenciesResponse
func (*ClientWithResponses) GetSimpleTokenPriceIdWithResponse ¶
func (c *ClientWithResponses) GetSimpleTokenPriceIdWithResponse(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, reqEditors ...RequestEditorFn) (*GetSimpleTokenPriceIdResponse, error)
GetSimpleTokenPriceIdWithResponse request returning *GetSimpleTokenPriceIdResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // GetAssetPlatforms request GetAssetPlatformsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAssetPlatformsResponse, error) // GetCoinsCategories request GetCoinsCategoriesWithResponse(ctx context.Context, params *GetCoinsCategoriesParams, reqEditors ...RequestEditorFn) (*GetCoinsCategoriesResponse, error) // GetCoinsCategoriesList request GetCoinsCategoriesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCoinsCategoriesListResponse, error) // GetCoinsList request GetCoinsListWithResponse(ctx context.Context, params *GetCoinsListParams, reqEditors ...RequestEditorFn) (*GetCoinsListResponse, error) // GetCoinsMarkets request GetCoinsMarketsWithResponse(ctx context.Context, params *GetCoinsMarketsParams, reqEditors ...RequestEditorFn) (*GetCoinsMarketsResponse, error) // GetCoinsId request GetCoinsIdWithResponse(ctx context.Context, id string, params *GetCoinsIdParams, reqEditors ...RequestEditorFn) (*GetCoinsIdResponse, error) // GetCoinsIdContractContractAddress request GetCoinsIdContractContractAddressWithResponse(ctx context.Context, id string, contractAddress string, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressResponse, error) // GetCoinsIdContractContractAddressMarketChart request GetCoinsIdContractContractAddressMarketChartWithResponse(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartParams, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressMarketChartResponse, error) // GetCoinsIdContractContractAddressMarketChartRange request GetCoinsIdContractContractAddressMarketChartRangeWithResponse(ctx context.Context, id string, contractAddress string, params *GetCoinsIdContractContractAddressMarketChartRangeParams, reqEditors ...RequestEditorFn) (*GetCoinsIdContractContractAddressMarketChartRangeResponse, error) // GetCoinsIdHistory request GetCoinsIdHistoryWithResponse(ctx context.Context, id string, params *GetCoinsIdHistoryParams, reqEditors ...RequestEditorFn) (*GetCoinsIdHistoryResponse, error) // GetCoinsIdMarketChart request GetCoinsIdMarketChartWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartParams, reqEditors ...RequestEditorFn) (*GetCoinsIdMarketChartResponse, error) // GetCoinsIdMarketChartRange request GetCoinsIdMarketChartRangeWithResponse(ctx context.Context, id string, params *GetCoinsIdMarketChartRangeParams, reqEditors ...RequestEditorFn) (*GetCoinsIdMarketChartRangeResponse, error) // GetCoinsIdOhlc request GetCoinsIdOhlcWithResponse(ctx context.Context, id string, params *GetCoinsIdOhlcParams, reqEditors ...RequestEditorFn) (*GetCoinsIdOhlcResponse, error) // GetCoinsIdTickers request GetCoinsIdTickersWithResponse(ctx context.Context, id string, params *GetCoinsIdTickersParams, reqEditors ...RequestEditorFn) (*GetCoinsIdTickersResponse, error) // GetDerivatives request GetDerivativesWithResponse(ctx context.Context, params *GetDerivativesParams, reqEditors ...RequestEditorFn) (*GetDerivativesResponse, error) // GetDerivativesExchanges request GetDerivativesExchangesWithResponse(ctx context.Context, params *GetDerivativesExchangesParams, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesResponse, error) // GetDerivativesExchangesList request GetDerivativesExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesListResponse, error) // GetDerivativesExchangesId request GetDerivativesExchangesIdWithResponse(ctx context.Context, id string, params *GetDerivativesExchangesIdParams, reqEditors ...RequestEditorFn) (*GetDerivativesExchangesIdResponse, error) // GetExchangeRates request GetExchangeRatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangeRatesResponse, error) // GetExchanges request GetExchangesWithResponse(ctx context.Context, params *GetExchangesParams, reqEditors ...RequestEditorFn) (*GetExchangesResponse, error) // GetExchangesList request GetExchangesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExchangesListResponse, error) // GetExchange request GetExchangeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetExchangeResponse, error) // GetExchangesIdTickers request GetExchangesIdTickersWithResponse(ctx context.Context, id string, params *GetExchangesIdTickersParams, reqEditors ...RequestEditorFn) (*GetExchangesIdTickersResponse, error) // GetExchangesIdVolumeChart request GetExchangesIdVolumeChartWithResponse(ctx context.Context, id string, params *GetExchangesIdVolumeChartParams, reqEditors ...RequestEditorFn) (*GetExchangesIdVolumeChartResponse, error) // GetGlobal request GetGlobalWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGlobalResponse, error) // GetIndexes request GetIndexesWithResponse(ctx context.Context, params *GetIndexesParams, reqEditors ...RequestEditorFn) (*GetIndexesResponse, error) // GetIndexesList request GetIndexesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIndexesListResponse, error) // GetIndexesMarketIdId request GetIndexesMarketIdIdWithResponse(ctx context.Context, marketId string, id string, reqEditors ...RequestEditorFn) (*GetIndexesMarketIdIdResponse, error) // GetPing request GetPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPingResponse, error) // GetSearchTrending request GetSearchTrendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchTrendingResponse, error) // GetSimplePrice request GetSimplePriceWithResponse(ctx context.Context, params *GetSimplePriceParams, reqEditors ...RequestEditorFn) (*GetSimplePriceResponse, error) // GetSimpleSupportedVsCurrencies request GetSimpleSupportedVsCurrenciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSimpleSupportedVsCurrenciesResponse, error) // GetSimpleTokenPriceId request GetSimpleTokenPriceIdWithResponse(ctx context.Context, id string, params *GetSimpleTokenPriceIdParams, reqEditors ...RequestEditorFn) (*GetSimpleTokenPriceIdResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Coin ¶
type Coin struct { Id string `json:"id"` Name *string `json:"name,omitempty"` Symbol string `json:"symbol"` AdditionalProperties map[string]interface{} `json:"-"` }
Coin defines model for coin.
func (Coin) Get ¶
Getter for additional properties for Coin. Returns the specified element and whether it was found
func (Coin) MarshalJSON ¶
Override default JSON handling for Coin to handle AdditionalProperties
func (*Coin) UnmarshalJSON ¶
Override default JSON handling for Coin to handle AdditionalProperties
type ConvertedDetails ¶
type ConvertedDetails struct { Btc *float64 `json:"btc,omitempty"` Eth *float64 `json:"eth,omitempty"` Usd *float64 `json:"usd,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
ConvertedDetails defines model for convertedDetails.
func (ConvertedDetails) Get ¶
func (a ConvertedDetails) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ConvertedDetails. Returns the specified element and whether it was found
func (ConvertedDetails) MarshalJSON ¶
func (a ConvertedDetails) MarshalJSON() ([]byte, error)
Override default JSON handling for ConvertedDetails to handle AdditionalProperties
func (*ConvertedDetails) Set ¶
func (a *ConvertedDetails) Set(fieldName string, value interface{})
Setter for additional properties for ConvertedDetails
func (*ConvertedDetails) UnmarshalJSON ¶
func (a *ConvertedDetails) UnmarshalJSON(b []byte) error
Override default JSON handling for ConvertedDetails to handle AdditionalProperties
type Exchange ¶
type Exchange struct { Country string `json:"country"` Description string `json:"description"` HasTradingIncentive bool `json:"has_trading_incentive"` Id string `json:"id"` Image string `json:"image"` Name string `json:"name"` TradeVolume24hBtc float64 `json:"trade_volume_24h_btc"` TradeVolume24hBtcNormalized float64 `json:"trade_volume_24h_btc_normalized"` TrustScore int `json:"trust_score"` TrustScoreRank int `json:"trust_score_rank"` Url string `json:"url"` YearEstablished int `json:"year_established"` AdditionalProperties map[string]interface{} `json:"-"` }
Exchange defines model for exchange.
func (Exchange) Get ¶
Getter for additional properties for Exchange. Returns the specified element and whether it was found
func (Exchange) MarshalJSON ¶
Override default JSON handling for Exchange to handle AdditionalProperties
func (*Exchange) UnmarshalJSON ¶
Override default JSON handling for Exchange to handle AdditionalProperties
type ExchangeDetails ¶
type ExchangeDetails struct { AlertNotice string `json:"alert_notice"` Centralized bool `json:"centralized"` Country string `json:"country"` Description string `json:"description"` FacebookUrl string `json:"facebook_url"` HasTradingIncentive bool `json:"has_trading_incentive"` Image string `json:"image"` Name string `json:"name"` OtherUrl1 string `json:"other_url_1"` OtherUrl2 string `json:"other_url_2"` PublicNotice string `json:"public_notice"` RedditUrl string `json:"reddit_url"` SlackUrl string `json:"slack_url"` StatusUpdates *[]StatusUpdate `json:"status_updates,omitempty"` TelegramUrl string `json:"telegram_url"` Tickers *[]Ticker `json:"tickers,omitempty"` TradeVolume24hBtc float64 `json:"trade_volume_24h_btc"` TradeVolume24hBtcNormalized float64 `json:"trade_volume_24h_btc_normalized"` TrustScore int `json:"trust_score"` TrustScoreRank int `json:"trust_score_rank"` TwitterHandle string `json:"twitter_handle"` Url string `json:"url"` YearEstablished int `json:"year_established"` AdditionalProperties map[string]interface{} `json:"-"` }
ExchangeDetails defines model for exchangeDetails.
func (ExchangeDetails) Get ¶
func (a ExchangeDetails) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ExchangeDetails. Returns the specified element and whether it was found
func (ExchangeDetails) MarshalJSON ¶
func (a ExchangeDetails) MarshalJSON() ([]byte, error)
Override default JSON handling for ExchangeDetails to handle AdditionalProperties
func (*ExchangeDetails) Set ¶
func (a *ExchangeDetails) Set(fieldName string, value interface{})
Setter for additional properties for ExchangeDetails
func (*ExchangeDetails) UnmarshalJSON ¶
func (a *ExchangeDetails) UnmarshalJSON(b []byte) error
Override default JSON handling for ExchangeDetails to handle AdditionalProperties
type ExchangeIdName ¶
type ExchangeIdName struct { Id string `json:"id"` Name string `json:"name"` AdditionalProperties map[string]interface{} `json:"-"` }
ExchangeIdName defines model for exchangeIdName.
func (ExchangeIdName) Get ¶
func (a ExchangeIdName) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ExchangeIdName. Returns the specified element and whether it was found
func (ExchangeIdName) MarshalJSON ¶
func (a ExchangeIdName) MarshalJSON() ([]byte, error)
Override default JSON handling for ExchangeIdName to handle AdditionalProperties
func (*ExchangeIdName) Set ¶
func (a *ExchangeIdName) Set(fieldName string, value interface{})
Setter for additional properties for ExchangeIdName
func (*ExchangeIdName) UnmarshalJSON ¶
func (a *ExchangeIdName) UnmarshalJSON(b []byte) error
Override default JSON handling for ExchangeIdName to handle AdditionalProperties
type GetAssetPlatformsResponse ¶
func ParseGetAssetPlatformsResponse ¶
func ParseGetAssetPlatformsResponse(rsp *http.Response) (*GetAssetPlatformsResponse, error)
ParseGetAssetPlatformsResponse parses an HTTP response from a GetAssetPlatformsWithResponse call
func (GetAssetPlatformsResponse) Status ¶
func (r GetAssetPlatformsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetPlatformsResponse) StatusCode ¶
func (r GetAssetPlatformsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsCategoriesListResponse ¶
func ParseGetCoinsCategoriesListResponse ¶
func ParseGetCoinsCategoriesListResponse(rsp *http.Response) (*GetCoinsCategoriesListResponse, error)
ParseGetCoinsCategoriesListResponse parses an HTTP response from a GetCoinsCategoriesListWithResponse call
func (GetCoinsCategoriesListResponse) Status ¶
func (r GetCoinsCategoriesListResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsCategoriesListResponse) StatusCode ¶
func (r GetCoinsCategoriesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsCategoriesParams ¶
type GetCoinsCategoriesParams struct { // Order valid values: <b>market_cap_desc (default), market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc and market_cap_change_24h_asc</b> Order *string `form:"order,omitempty" json:"order,omitempty"` }
GetCoinsCategoriesParams defines parameters for GetCoinsCategories.
type GetCoinsCategoriesResponse ¶
func ParseGetCoinsCategoriesResponse ¶
func ParseGetCoinsCategoriesResponse(rsp *http.Response) (*GetCoinsCategoriesResponse, error)
ParseGetCoinsCategoriesResponse parses an HTTP response from a GetCoinsCategoriesWithResponse call
func (GetCoinsCategoriesResponse) Status ¶
func (r GetCoinsCategoriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsCategoriesResponse) StatusCode ¶
func (r GetCoinsCategoriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdContractContractAddressMarketChartParams ¶
type GetCoinsIdContractContractAddressMarketChartParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // Days Data up to number of days ago (eg. 1,14,30,max) Days string `form:"days" json:"days"` }
GetCoinsIdContractContractAddressMarketChartParams defines parameters for GetCoinsIdContractContractAddressMarketChart.
type GetCoinsIdContractContractAddressMarketChartRangeParams ¶
type GetCoinsIdContractContractAddressMarketChartRangeParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // From From date in UNIX Timestamp (eg. 1392577232) From string `form:"from" json:"from"` // To To date in UNIX Timestamp (eg. 1422577232) To string `form:"to" json:"to"` }
GetCoinsIdContractContractAddressMarketChartRangeParams defines parameters for GetCoinsIdContractContractAddressMarketChartRange.
type GetCoinsIdContractContractAddressMarketChartRangeResponse ¶
type GetCoinsIdContractContractAddressMarketChartRangeResponse struct { Body []byte HTTPResponse *http.Response }
func ParseGetCoinsIdContractContractAddressMarketChartRangeResponse ¶
func ParseGetCoinsIdContractContractAddressMarketChartRangeResponse(rsp *http.Response) (*GetCoinsIdContractContractAddressMarketChartRangeResponse, error)
ParseGetCoinsIdContractContractAddressMarketChartRangeResponse parses an HTTP response from a GetCoinsIdContractContractAddressMarketChartRangeWithResponse call
func (GetCoinsIdContractContractAddressMarketChartRangeResponse) Status ¶
func (r GetCoinsIdContractContractAddressMarketChartRangeResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdContractContractAddressMarketChartRangeResponse) StatusCode ¶
func (r GetCoinsIdContractContractAddressMarketChartRangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdContractContractAddressMarketChartResponse ¶
type GetCoinsIdContractContractAddressMarketChartResponse struct { Body []byte HTTPResponse *http.Response }
func ParseGetCoinsIdContractContractAddressMarketChartResponse ¶
func ParseGetCoinsIdContractContractAddressMarketChartResponse(rsp *http.Response) (*GetCoinsIdContractContractAddressMarketChartResponse, error)
ParseGetCoinsIdContractContractAddressMarketChartResponse parses an HTTP response from a GetCoinsIdContractContractAddressMarketChartWithResponse call
func (GetCoinsIdContractContractAddressMarketChartResponse) Status ¶
func (r GetCoinsIdContractContractAddressMarketChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdContractContractAddressMarketChartResponse) StatusCode ¶
func (r GetCoinsIdContractContractAddressMarketChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdContractContractAddressResponse ¶
func ParseGetCoinsIdContractContractAddressResponse ¶
func ParseGetCoinsIdContractContractAddressResponse(rsp *http.Response) (*GetCoinsIdContractContractAddressResponse, error)
ParseGetCoinsIdContractContractAddressResponse parses an HTTP response from a GetCoinsIdContractContractAddressWithResponse call
func (GetCoinsIdContractContractAddressResponse) Status ¶
func (r GetCoinsIdContractContractAddressResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdContractContractAddressResponse) StatusCode ¶
func (r GetCoinsIdContractContractAddressResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdHistoryParams ¶
type GetCoinsIdHistoryParams struct { // Date The date of data snapshot in dd-mm-yyyy eg. 30-12-2017 Date string `form:"date" json:"date"` // Localization Set to false to exclude localized languages in response Localization *string `form:"localization,omitempty" json:"localization,omitempty"` }
GetCoinsIdHistoryParams defines parameters for GetCoinsIdHistory.
type GetCoinsIdHistoryResponse ¶
func ParseGetCoinsIdHistoryResponse ¶
func ParseGetCoinsIdHistoryResponse(rsp *http.Response) (*GetCoinsIdHistoryResponse, error)
ParseGetCoinsIdHistoryResponse parses an HTTP response from a GetCoinsIdHistoryWithResponse call
func (GetCoinsIdHistoryResponse) Status ¶
func (r GetCoinsIdHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdHistoryResponse) StatusCode ¶
func (r GetCoinsIdHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdMarketChartParams ¶
type GetCoinsIdMarketChartParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // Days Data up to number of days ago (eg. 1,14,30,max) Days string `form:"days" json:"days"` // Interval Data interval. Possible value: daily Interval *string `form:"interval,omitempty" json:"interval,omitempty"` }
GetCoinsIdMarketChartParams defines parameters for GetCoinsIdMarketChart.
type GetCoinsIdMarketChartRangeParams ¶
type GetCoinsIdMarketChartRangeParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // From From date in UNIX Timestamp (eg. 1392577232) From string `form:"from" json:"from"` // To To date in UNIX Timestamp (eg. 1422577232) To string `form:"to" json:"to"` }
GetCoinsIdMarketChartRangeParams defines parameters for GetCoinsIdMarketChartRange.
type GetCoinsIdMarketChartRangeResponse ¶
func ParseGetCoinsIdMarketChartRangeResponse ¶
func ParseGetCoinsIdMarketChartRangeResponse(rsp *http.Response) (*GetCoinsIdMarketChartRangeResponse, error)
ParseGetCoinsIdMarketChartRangeResponse parses an HTTP response from a GetCoinsIdMarketChartRangeWithResponse call
func (GetCoinsIdMarketChartRangeResponse) Status ¶
func (r GetCoinsIdMarketChartRangeResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdMarketChartRangeResponse) StatusCode ¶
func (r GetCoinsIdMarketChartRangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdMarketChartResponse ¶
func ParseGetCoinsIdMarketChartResponse ¶
func ParseGetCoinsIdMarketChartResponse(rsp *http.Response) (*GetCoinsIdMarketChartResponse, error)
ParseGetCoinsIdMarketChartResponse parses an HTTP response from a GetCoinsIdMarketChartWithResponse call
func (GetCoinsIdMarketChartResponse) Status ¶
func (r GetCoinsIdMarketChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdMarketChartResponse) StatusCode ¶
func (r GetCoinsIdMarketChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdOhlcParams ¶
type GetCoinsIdOhlcParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // Days Data up to number of days ago (1/7/14/30/90/180/365/max) Days string `form:"days" json:"days"` }
GetCoinsIdOhlcParams defines parameters for GetCoinsIdOhlc.
type GetCoinsIdOhlcResponse ¶
func ParseGetCoinsIdOhlcResponse ¶
func ParseGetCoinsIdOhlcResponse(rsp *http.Response) (*GetCoinsIdOhlcResponse, error)
ParseGetCoinsIdOhlcResponse parses an HTTP response from a GetCoinsIdOhlcWithResponse call
func (GetCoinsIdOhlcResponse) Status ¶
func (r GetCoinsIdOhlcResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdOhlcResponse) StatusCode ¶
func (r GetCoinsIdOhlcResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdParams ¶
type GetCoinsIdParams struct { // Localization Include all localized languages in response (true/false) <b>[default: true]</b> Localization *string `form:"localization,omitempty" json:"localization,omitempty"` // Tickers Include tickers data (true/false) <b>[default: true]</b> Tickers *bool `form:"tickers,omitempty" json:"tickers,omitempty"` // MarketData Include market_data (true/false) <b>[default: true]</b> MarketData *bool `form:"market_data,omitempty" json:"market_data,omitempty"` // CommunityData Include community_data data (true/false) <b>[default: true]</b> CommunityData *bool `form:"community_data,omitempty" json:"community_data,omitempty"` // DeveloperData Include developer_data data (true/false) <b>[default: true]</b> DeveloperData *bool `form:"developer_data,omitempty" json:"developer_data,omitempty"` // Sparkline Include sparkline 7 days data (eg. true, false) <b>[default: false]</b> Sparkline *bool `form:"sparkline,omitempty" json:"sparkline,omitempty"` }
GetCoinsIdParams defines parameters for GetCoinsId.
type GetCoinsIdResponse ¶
func ParseGetCoinsIdResponse ¶
func ParseGetCoinsIdResponse(rsp *http.Response) (*GetCoinsIdResponse, error)
ParseGetCoinsIdResponse parses an HTTP response from a GetCoinsIdWithResponse call
func (GetCoinsIdResponse) Status ¶
func (r GetCoinsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdResponse) StatusCode ¶
func (r GetCoinsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsIdTickersParams ¶
type GetCoinsIdTickersParams struct { // ExchangeIds filter results by exchange_ids (ref: v3/exchanges/list) ExchangeIds *string `form:"exchange_ids,omitempty" json:"exchange_ids,omitempty"` // IncludeExchangeLogo flag to show exchange_logo IncludeExchangeLogo *string `form:"include_exchange_logo,omitempty" json:"include_exchange_logo,omitempty"` // Page Page through results Page *int `form:"page,omitempty" json:"page,omitempty"` // Order valid values: <b>trust_score_desc (default), trust_score_asc and volume_desc</b> Order *string `form:"order,omitempty" json:"order,omitempty"` // Depth flag to show 2% orderbook depth. valid values: true, false Depth *string `form:"depth,omitempty" json:"depth,omitempty"` }
GetCoinsIdTickersParams defines parameters for GetCoinsIdTickers.
type GetCoinsIdTickersResponse ¶
func ParseGetCoinsIdTickersResponse ¶
func ParseGetCoinsIdTickersResponse(rsp *http.Response) (*GetCoinsIdTickersResponse, error)
ParseGetCoinsIdTickersResponse parses an HTTP response from a GetCoinsIdTickersWithResponse call
func (GetCoinsIdTickersResponse) Status ¶
func (r GetCoinsIdTickersResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsIdTickersResponse) StatusCode ¶
func (r GetCoinsIdTickersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsListParams ¶
type GetCoinsListParams struct { // IncludePlatform flag to include platform contract addresses (eg. 0x.... for Ethereum based tokens). // valid values: true, false IncludePlatform *bool `form:"include_platform,omitempty" json:"include_platform,omitempty"` }
GetCoinsListParams defines parameters for GetCoinsList.
type GetCoinsListResponse ¶
func ParseGetCoinsListResponse ¶
func ParseGetCoinsListResponse(rsp *http.Response) (*GetCoinsListResponse, error)
ParseGetCoinsListResponse parses an HTTP response from a GetCoinsListWithResponse call
func (GetCoinsListResponse) Status ¶
func (r GetCoinsListResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsListResponse) StatusCode ¶
func (r GetCoinsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoinsMarketsParams ¶
type GetCoinsMarketsParams struct { // VsCurrency The target currency of market data (usd, eur, jpy, etc.) VsCurrency string `form:"vs_currency" json:"vs_currency"` // Ids The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`. // <b>When left empty, returns numbers the coins observing the params `limit` and `start`</b> Ids *string `form:"ids,omitempty" json:"ids,omitempty"` // Category filter by coin category. Refer to /coin/categories/list Category *string `form:"category,omitempty" json:"category,omitempty"` // Order valid values: <b>market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc</b> // sort results by field. Order *string `form:"order,omitempty" json:"order,omitempty"` // PerPage valid values: 1..250 // Total results per page PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` // Page Page through results Page *int `form:"page,omitempty" json:"page,omitempty"` // Sparkline Include sparkline 7 days data (eg. true, false) Sparkline *bool `form:"sparkline,omitempty" json:"sparkline,omitempty"` // PriceChangePercentage Include price change percentage in <b>1h, 24h, 7d, 14d, 30d, 200d, 1y</b> (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded) PriceChangePercentage *string `form:"price_change_percentage,omitempty" json:"price_change_percentage,omitempty"` }
GetCoinsMarketsParams defines parameters for GetCoinsMarkets.
type GetCoinsMarketsResponse ¶
func ParseGetCoinsMarketsResponse ¶
func ParseGetCoinsMarketsResponse(rsp *http.Response) (*GetCoinsMarketsResponse, error)
ParseGetCoinsMarketsResponse parses an HTTP response from a GetCoinsMarketsWithResponse call
func (GetCoinsMarketsResponse) Status ¶
func (r GetCoinsMarketsResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoinsMarketsResponse) StatusCode ¶
func (r GetCoinsMarketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDerivativesExchangesIdParams ¶
type GetDerivativesExchangesIdParams struct { // IncludeTickers ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response IncludeTickers *string `form:"include_tickers,omitempty" json:"include_tickers,omitempty"` }
GetDerivativesExchangesIdParams defines parameters for GetDerivativesExchangesId.
type GetDerivativesExchangesIdResponse ¶
func ParseGetDerivativesExchangesIdResponse ¶
func ParseGetDerivativesExchangesIdResponse(rsp *http.Response) (*GetDerivativesExchangesIdResponse, error)
ParseGetDerivativesExchangesIdResponse parses an HTTP response from a GetDerivativesExchangesIdWithResponse call
func (GetDerivativesExchangesIdResponse) Status ¶
func (r GetDerivativesExchangesIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetDerivativesExchangesIdResponse) StatusCode ¶
func (r GetDerivativesExchangesIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDerivativesExchangesListResponse ¶
func ParseGetDerivativesExchangesListResponse ¶
func ParseGetDerivativesExchangesListResponse(rsp *http.Response) (*GetDerivativesExchangesListResponse, error)
ParseGetDerivativesExchangesListResponse parses an HTTP response from a GetDerivativesExchangesListWithResponse call
func (GetDerivativesExchangesListResponse) Status ¶
func (r GetDerivativesExchangesListResponse) Status() string
Status returns HTTPResponse.Status
func (GetDerivativesExchangesListResponse) StatusCode ¶
func (r GetDerivativesExchangesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDerivativesExchangesParams ¶
type GetDerivativesExchangesParams struct { // Order order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc Order *string `form:"order,omitempty" json:"order,omitempty"` // PerPage Total results per page PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` // Page Page through results Page *int `form:"page,omitempty" json:"page,omitempty"` }
GetDerivativesExchangesParams defines parameters for GetDerivativesExchanges.
type GetDerivativesExchangesResponse ¶
func ParseGetDerivativesExchangesResponse ¶
func ParseGetDerivativesExchangesResponse(rsp *http.Response) (*GetDerivativesExchangesResponse, error)
ParseGetDerivativesExchangesResponse parses an HTTP response from a GetDerivativesExchangesWithResponse call
func (GetDerivativesExchangesResponse) Status ¶
func (r GetDerivativesExchangesResponse) Status() string
Status returns HTTPResponse.Status
func (GetDerivativesExchangesResponse) StatusCode ¶
func (r GetDerivativesExchangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDerivativesParams ¶
type GetDerivativesParams struct { // IncludeTickers ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired IncludeTickers *string `form:"include_tickers,omitempty" json:"include_tickers,omitempty"` }
GetDerivativesParams defines parameters for GetDerivatives.
type GetDerivativesResponse ¶
func ParseGetDerivativesResponse ¶
func ParseGetDerivativesResponse(rsp *http.Response) (*GetDerivativesResponse, error)
ParseGetDerivativesResponse parses an HTTP response from a GetDerivativesWithResponse call
func (GetDerivativesResponse) Status ¶
func (r GetDerivativesResponse) Status() string
Status returns HTTPResponse.Status
func (GetDerivativesResponse) StatusCode ¶
func (r GetDerivativesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangeRatesResponse ¶
func ParseGetExchangeRatesResponse ¶
func ParseGetExchangeRatesResponse(rsp *http.Response) (*GetExchangeRatesResponse, error)
ParseGetExchangeRatesResponse parses an HTTP response from a GetExchangeRatesWithResponse call
func (GetExchangeRatesResponse) Status ¶
func (r GetExchangeRatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangeRatesResponse) StatusCode ¶
func (r GetExchangeRatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangeResponse ¶
type GetExchangeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ExchangeDetails }
func ParseGetExchangeResponse ¶
func ParseGetExchangeResponse(rsp *http.Response) (*GetExchangeResponse, error)
ParseGetExchangeResponse parses an HTTP response from a GetExchangeWithResponse call
func (GetExchangeResponse) Status ¶
func (r GetExchangeResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangeResponse) StatusCode ¶
func (r GetExchangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangesIdTickersParams ¶
type GetExchangesIdTickersParams struct { // CoinIds filter tickers by coin_ids (ref: v3/coins/list) CoinIds *string `form:"coin_ids,omitempty" json:"coin_ids,omitempty"` // IncludeExchangeLogo flag to show exchange_logo IncludeExchangeLogo *string `form:"include_exchange_logo,omitempty" json:"include_exchange_logo,omitempty"` // Page Page through results Page *int `form:"page,omitempty" json:"page,omitempty"` // Depth flag to show 2% orderbook depth i.e., cost_to_move_up_usd and cost_to_move_down_usd Depth *string `form:"depth,omitempty" json:"depth,omitempty"` // Order valid values: <b>trust_score_desc (default), trust_score_asc and volume_desc</b> Order *string `form:"order,omitempty" json:"order,omitempty"` }
GetExchangesIdTickersParams defines parameters for GetExchangesIdTickers.
type GetExchangesIdTickersResponse ¶
func ParseGetExchangesIdTickersResponse ¶
func ParseGetExchangesIdTickersResponse(rsp *http.Response) (*GetExchangesIdTickersResponse, error)
ParseGetExchangesIdTickersResponse parses an HTTP response from a GetExchangesIdTickersWithResponse call
func (GetExchangesIdTickersResponse) Status ¶
func (r GetExchangesIdTickersResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangesIdTickersResponse) StatusCode ¶
func (r GetExchangesIdTickersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangesIdVolumeChartParams ¶
type GetExchangesIdVolumeChartParams struct { // Days Data up to number of days ago (eg. 1,14,30) Days int `form:"days" json:"days"` }
GetExchangesIdVolumeChartParams defines parameters for GetExchangesIdVolumeChart.
type GetExchangesIdVolumeChartResponse ¶
func ParseGetExchangesIdVolumeChartResponse ¶
func ParseGetExchangesIdVolumeChartResponse(rsp *http.Response) (*GetExchangesIdVolumeChartResponse, error)
ParseGetExchangesIdVolumeChartResponse parses an HTTP response from a GetExchangesIdVolumeChartWithResponse call
func (GetExchangesIdVolumeChartResponse) Status ¶
func (r GetExchangesIdVolumeChartResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangesIdVolumeChartResponse) StatusCode ¶
func (r GetExchangesIdVolumeChartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangesListResponse ¶
type GetExchangesListResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ExchangeIdName }
func ParseGetExchangesListResponse ¶
func ParseGetExchangesListResponse(rsp *http.Response) (*GetExchangesListResponse, error)
ParseGetExchangesListResponse parses an HTTP response from a GetExchangesListWithResponse call
func (GetExchangesListResponse) Status ¶
func (r GetExchangesListResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangesListResponse) StatusCode ¶
func (r GetExchangesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExchangesParams ¶
type GetExchangesParams struct { // PerPage Valid values: 1...250 // Total results per page // Default value:: 100 PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` // Page page through results Page *int `form:"page,omitempty" json:"page,omitempty"` }
GetExchangesParams defines parameters for GetExchanges.
type GetExchangesResponse ¶
func ParseGetExchangesResponse ¶
func ParseGetExchangesResponse(rsp *http.Response) (*GetExchangesResponse, error)
ParseGetExchangesResponse parses an HTTP response from a GetExchangesWithResponse call
func (GetExchangesResponse) Status ¶
func (r GetExchangesResponse) Status() string
Status returns HTTPResponse.Status
func (GetExchangesResponse) StatusCode ¶
func (r GetExchangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalResponse ¶
func ParseGetGlobalResponse ¶
func ParseGetGlobalResponse(rsp *http.Response) (*GetGlobalResponse, error)
ParseGetGlobalResponse parses an HTTP response from a GetGlobalWithResponse call
func (GetGlobalResponse) Status ¶
func (r GetGlobalResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalResponse) StatusCode ¶
func (r GetGlobalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIndexesListResponse ¶
func ParseGetIndexesListResponse ¶
func ParseGetIndexesListResponse(rsp *http.Response) (*GetIndexesListResponse, error)
ParseGetIndexesListResponse parses an HTTP response from a GetIndexesListWithResponse call
func (GetIndexesListResponse) Status ¶
func (r GetIndexesListResponse) Status() string
Status returns HTTPResponse.Status
func (GetIndexesListResponse) StatusCode ¶
func (r GetIndexesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIndexesMarketIdIdResponse ¶
func ParseGetIndexesMarketIdIdResponse ¶
func ParseGetIndexesMarketIdIdResponse(rsp *http.Response) (*GetIndexesMarketIdIdResponse, error)
ParseGetIndexesMarketIdIdResponse parses an HTTP response from a GetIndexesMarketIdIdWithResponse call
func (GetIndexesMarketIdIdResponse) Status ¶
func (r GetIndexesMarketIdIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetIndexesMarketIdIdResponse) StatusCode ¶
func (r GetIndexesMarketIdIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIndexesParams ¶
type GetIndexesParams struct { // PerPage Total results per page PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` // Page Page through results Page *int `form:"page,omitempty" json:"page,omitempty"` }
GetIndexesParams defines parameters for GetIndexes.
type GetIndexesResponse ¶
func ParseGetIndexesResponse ¶
func ParseGetIndexesResponse(rsp *http.Response) (*GetIndexesResponse, error)
ParseGetIndexesResponse parses an HTTP response from a GetIndexesWithResponse call
func (GetIndexesResponse) Status ¶
func (r GetIndexesResponse) Status() string
Status returns HTTPResponse.Status
func (GetIndexesResponse) StatusCode ¶
func (r GetIndexesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPingResponse ¶
func ParseGetPingResponse ¶
func ParseGetPingResponse(rsp *http.Response) (*GetPingResponse, error)
ParseGetPingResponse parses an HTTP response from a GetPingWithResponse call
func (GetPingResponse) Status ¶
func (r GetPingResponse) Status() string
Status returns HTTPResponse.Status
func (GetPingResponse) StatusCode ¶
func (r GetPingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSearchTrendingResponse ¶
func ParseGetSearchTrendingResponse ¶
func ParseGetSearchTrendingResponse(rsp *http.Response) (*GetSearchTrendingResponse, error)
ParseGetSearchTrendingResponse parses an HTTP response from a GetSearchTrendingWithResponse call
func (GetSearchTrendingResponse) Status ¶
func (r GetSearchTrendingResponse) Status() string
Status returns HTTPResponse.Status
func (GetSearchTrendingResponse) StatusCode ¶
func (r GetSearchTrendingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimplePriceParams ¶
type GetSimplePriceParams struct { // Ids id of coins, comma-separated if querying more than 1 coin // *refers to <b>`coins/list`</b> Ids string `form:"ids" json:"ids"` // VsCurrencies vs_currency of coins, comma-separated if querying more than 1 vs_currency // *refers to <b>`simple/supported_vs_currencies`</b> VsCurrencies string `form:"vs_currencies" json:"vs_currencies"` // IncludeMarketCap <b>true/false</b> to include market_cap, <b>default: false</b> IncludeMarketCap *string `form:"include_market_cap,omitempty" json:"include_market_cap,omitempty"` // Include24hrVol <b>true/false</b> to include 24hr_vol, <b>default: false</b> Include24hrVol *string `form:"include_24hr_vol,omitempty" json:"include_24hr_vol,omitempty"` // Include24hrChange <b>true/false</b> to include 24hr_change, <b>default: false</b> Include24hrChange *string `form:"include_24hr_change,omitempty" json:"include_24hr_change,omitempty"` // IncludeLastUpdatedAt <b>true/false</b> to include last_updated_at of price, <b>default: false</b> IncludeLastUpdatedAt *string `form:"include_last_updated_at,omitempty" json:"include_last_updated_at,omitempty"` }
GetSimplePriceParams defines parameters for GetSimplePrice.
type GetSimplePriceResponse ¶
func ParseGetSimplePriceResponse ¶
func ParseGetSimplePriceResponse(rsp *http.Response) (*GetSimplePriceResponse, error)
ParseGetSimplePriceResponse parses an HTTP response from a GetSimplePriceWithResponse call
func (GetSimplePriceResponse) Status ¶
func (r GetSimplePriceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimplePriceResponse) StatusCode ¶
func (r GetSimplePriceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleSupportedVsCurrenciesResponse ¶
func ParseGetSimpleSupportedVsCurrenciesResponse ¶
func ParseGetSimpleSupportedVsCurrenciesResponse(rsp *http.Response) (*GetSimpleSupportedVsCurrenciesResponse, error)
ParseGetSimpleSupportedVsCurrenciesResponse parses an HTTP response from a GetSimpleSupportedVsCurrenciesWithResponse call
func (GetSimpleSupportedVsCurrenciesResponse) Status ¶
func (r GetSimpleSupportedVsCurrenciesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleSupportedVsCurrenciesResponse) StatusCode ¶
func (r GetSimpleSupportedVsCurrenciesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimpleTokenPriceIdParams ¶
type GetSimpleTokenPriceIdParams struct { // ContractAddresses The contract address of tokens, comma separated ContractAddresses string `form:"contract_addresses" json:"contract_addresses"` // VsCurrencies vs_currency of coins, comma-separated if querying more than 1 vs_currency // *refers to <b>`simple/supported_vs_currencies`</b> VsCurrencies string `form:"vs_currencies" json:"vs_currencies"` // IncludeMarketCap <b>true/false</b> to include market_cap, <b>default: false</b> IncludeMarketCap *string `form:"include_market_cap,omitempty" json:"include_market_cap,omitempty"` // Include24hrVol <b>true/false</b> to include 24hr_vol, <b>default: false</b> Include24hrVol *string `form:"include_24hr_vol,omitempty" json:"include_24hr_vol,omitempty"` // Include24hrChange <b>true/false</b> to include 24hr_change, <b>default: false</b> Include24hrChange *string `form:"include_24hr_change,omitempty" json:"include_24hr_change,omitempty"` // IncludeLastUpdatedAt <b>true/false</b> to include last_updated_at of price, <b>default: false</b> IncludeLastUpdatedAt *string `form:"include_last_updated_at,omitempty" json:"include_last_updated_at,omitempty"` }
GetSimpleTokenPriceIdParams defines parameters for GetSimpleTokenPriceId.
type GetSimpleTokenPriceIdResponse ¶
func ParseGetSimpleTokenPriceIdResponse ¶
func ParseGetSimpleTokenPriceIdResponse(rsp *http.Response) (*GetSimpleTokenPriceIdResponse, error)
ParseGetSimpleTokenPriceIdResponse parses an HTTP response from a GetSimpleTokenPriceIdWithResponse call
func (GetSimpleTokenPriceIdResponse) Status ¶
func (r GetSimpleTokenPriceIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimpleTokenPriceIdResponse) StatusCode ¶
func (r GetSimpleTokenPriceIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Image ¶
type Image struct { Large string `json:"large"` Small string `json:"small"` Thumb string `json:"thumb"` AdditionalProperties map[string]interface{} `json:"-"` }
Image defines model for image.
func (Image) Get ¶
Getter for additional properties for Image. Returns the specified element and whether it was found
func (Image) MarshalJSON ¶
Override default JSON handling for Image to handle AdditionalProperties
func (*Image) UnmarshalJSON ¶
Override default JSON handling for Image to handle AdditionalProperties
type Market ¶
type Market struct { HasTradingIncentive *bool `json:"has_trading_incentive,omitempty"` Identifier *string `json:"identifier,omitempty"` Name *string `json:"name,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` }
Market defines model for market.
func (Market) Get ¶
Getter for additional properties for Market. Returns the specified element and whether it was found
func (Market) MarshalJSON ¶
Override default JSON handling for Market to handle AdditionalProperties
func (*Market) UnmarshalJSON ¶
Override default JSON handling for Market to handle AdditionalProperties
type Project ¶
type Project struct { Id string `json:"id"` Image Image `json:"image"` Name string `json:"name"` Type string `json:"type"` AdditionalProperties map[string]interface{} `json:"-"` }
Project defines model for project.
func (Project) Get ¶
Getter for additional properties for Project. Returns the specified element and whether it was found
func (Project) MarshalJSON ¶
Override default JSON handling for Project to handle AdditionalProperties
func (*Project) UnmarshalJSON ¶
Override default JSON handling for Project to handle AdditionalProperties
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type StatusUpdate ¶
type StatusUpdate struct { Category string `json:"category"` CreatedAt time.Time `json:"created_at"` Description string `json:"description"` Pin bool `json:"pin"` Project *Project `json:"project,omitempty"` User string `json:"user"` UserTitle string `json:"user_title"` AdditionalProperties map[string]interface{} `json:"-"` }
StatusUpdate defines model for statusUpdate.
func (StatusUpdate) Get ¶
func (a StatusUpdate) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StatusUpdate. Returns the specified element and whether it was found
func (StatusUpdate) MarshalJSON ¶
func (a StatusUpdate) MarshalJSON() ([]byte, error)
Override default JSON handling for StatusUpdate to handle AdditionalProperties
func (*StatusUpdate) Set ¶
func (a *StatusUpdate) Set(fieldName string, value interface{})
Setter for additional properties for StatusUpdate
func (*StatusUpdate) UnmarshalJSON ¶
func (a *StatusUpdate) UnmarshalJSON(b []byte) error
Override default JSON handling for StatusUpdate to handle AdditionalProperties
type Ticker ¶
type Ticker struct { Base string `json:"base"` BidAskSpreadPercentage float64 `json:"bid_ask_spread_percentage"` CoinId string `json:"coin_id"` ConvertedLast ConvertedDetails `json:"converted_last"` ConvertedVolume ConvertedDetails `json:"converted_volume"` IsAnomaly bool `json:"is_anomaly"` IsStale bool `json:"is_stale"` Last float64 `json:"last"` LastFetchAt time.Time `json:"last_fetch_at"` LastTradedAt time.Time `json:"last_traded_at"` Market Market `json:"market"` Target string `json:"target"` TargetCoinId string `json:"target_coin_id"` Timestamp time.Time `json:"timestamp"` TokenInfoUrl *string `json:"token_info_url,omitempty"` TradeUrl string `json:"trade_url"` TrustScore string `json:"trust_score"` Volume float64 `json:"volume"` AdditionalProperties map[string]interface{} `json:"-"` }
Ticker defines model for ticker.
func (Ticker) Get ¶
Getter for additional properties for Ticker. Returns the specified element and whether it was found
func (Ticker) MarshalJSON ¶
Override default JSON handling for Ticker to handle AdditionalProperties
func (*Ticker) UnmarshalJSON ¶
Override default JSON handling for Ticker to handle AdditionalProperties