Updated docs

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-07-19 14:45:41 +02:00
parent ad4ad553a4
commit 324be2a410
2 changed files with 16 additions and 0 deletions

View File

@ -34,11 +34,17 @@ yarn add @tcgdex/sdk
npm install @tcgdex/sdk
```
or in the web browser
```html
<script src="https://cdn.jsdelivr.net/npm/@tcgdex/sdk@2/dist/tcgdex.browser.js"></script>
```
## Usage
_Note: a complete documentation is in progress_
```javascript
// only if using with NPM/Yarn
import TCGdex from '@tcgdex/sdk'
// initialize the SDK