Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.76 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.76 KB

riot

Riot CI

Small library to consume the Riot APIs with deno

Supported APIs

Supported static APIs

  • Seasons
  • Queues
  • Maps
  • Game Modes
  • Game Types

Data Dragon

Coming soonTM

Environment variables

Note: For running this project locally, this project supports a .env file at the root as well. It it not checked in as it contains secrets.

Required permissions

  • --allow-read
    • Needed for caching static assets
  • -- allow-write
    • Needed for caching static assets
  • --allow-net
    • Needed for communicating with Riot's APIs
  • -- unstable
    • Needed for using latest and greatest Deno
  • -- allow-env
    • Needed for loading configuration variables, like API_KEY

Lab

At the root, there's a small lab for consuming this package.

> deno run --allow-read --allow-net --unstable --allow-write --lock=labs/lock.json --lock-write --allow-env labs/index.ts

Debugging: --inspect