@cloudbet/market-helper

SDK to generate localized sport market information

Usage no npm install needed!

<script type="module">
  import cloudbetMarketHelper from 'https://cdn.skypack.dev/@cloudbet/market-helper';
</script>

README

sports-sdk

Based on API v6 and the sports-core schemas.

Api Documentation

brew install yarn
  • yarn start - Starts typescript compiler in watch mode
  • yarn build - Builds the sdk into /dist.
  • yarn document - Creates the api documentation under /docs.
  • yarn test - Runs tests.
  • yarn lint - Runs eslint.

Editor config

If using VSCode with ESLint extension, add

  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]

to you VSCode's settings.json to enable typescript linting.