0.0.2 • Published 3 months ago

coingecko-openapi-client v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Coingecko OpenApi clients

Global configuration

export COINGECKO_BASE_URL="https://api.coingecko.com/api/v3"

API documentation available at https://docs.coingecko.com/v3.0.1/reference/introduction

Typescript NPM

Install

npm i coingecko-openapi-client
yarn add coingecko-openapi-client
pnpm install coingecko-openapi-client

Setup

pnpm install
pnpm build

Usage

pnpm start

Developers

Regenerate client

Download the schema:

wget https://www.coingecko.com/api/documentations/v3/swagger.json -O swagger.json

Typescript

pnpx openapi-typescript-codegen --input swagger.json --output client/typescript --name CoingeckoAPIClient
0.0.2

3 months ago

0.0.1

3 months ago