{"repo":"tcgdex/javascript-sdk","free":true,"listed":false,"github":"https://github.com/tcgdex/javascript-sdk","clone":"git clone https://github.com/tcgdex/javascript-sdk.git","description":"Communicate with the Open Source TCGdex API in Javascript/Typescript using the SDK","language":"TypeScript","stars":42,"topics":["javascript","typescript","pokemon","tcg","trading","card","tcgdex","sdk","api","typing"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"TCGdex JavaScript/TypeScript SDK The Javascript/Typescript SDK provides a convenient access with the Open Source TCGdex API. The SDK is available in ESM and CommonJS and should be automaticly chosen. Documentation The full API/SDK documentation in progress at API Documentation - TCGdex Getting Started How To install In the browser To use the SDK in the browser, simply add the following script tag to your HTML pages: You can also download the script from JSDelivr by right clicking the link and selecting save link as. In Node.js Simply type the following into a terminal window: Usage Note: a complete documentation is available at TCGdex.dev Example: Fetch a Card in Browser in NodeJS (in an async context) Other Examples Other Endpoints They work like the two ( hp and illustrators ) abose - categories: the the different cards categories - energy-types: Fetch different types of energies - hp: fetch the different cards possible HPs - illustrators: fetch all the cards illustrators - rarities: fetch the cards rarities - retreats: fetch the cards using the retreat count - stages: fetch differents cards stages - suffixes: fetch differents cards suffixes - trainer-types: fetch trainer cards types - dex-ids: fetch pokemon Global Pokédex IDS - types: fetch the cards using the Pokémon type(s) Contributing See CONTRIBUTING.md TL::DR - Fork - Commit your changes - Pull Request on this Repository License This project is licensed under the IT License. A copy of the license is available at LICE","default_branch":null,"files":null,"tree":[],"storefront":"/r/tcgdex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tcgdex/javascript-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}