export COINGECKO_BASE_URL="https://api.coingecko.com/api/v3"
API documentation available at https://docs.coingecko.com/v3.0.1/reference/introduction
npm i coingecko-openapi-client
yarn add coingecko-openapi-client
pnpm install coingecko-openapi-client
pnpm install
pnpm build
pnpm start
Download the schema:
wget https://www.coingecko.com/api/documentations/v3/swagger.json -O swagger.json
pnpx openapi-typescript-codegen --input swagger.json --output client/typescript --name CoingeckoAPIClient