Skip to content

Instantly share code, notes, and snippets.

@macalinao
Created June 1, 2016 00:34
Show Gist options
  • Save macalinao/d844fd1b161e91c868ed1f6bcaa0bd24 to your computer and use it in GitHub Desktop.
Save macalinao/d844fd1b161e91c868ed1f6bcaa0bd24 to your computer and use it in GitHub Desktop.
# Riot API example requests
# To make full use of this document, use Emacs with the `restclient` package.
:base = http://localhost:3006
:baselol = :base/api/lol/:region
:region = na
# Featured games
GET :base/observer-mode/rest/featured
Riot-Region: :region
# Summoner info
:name = Otocolobus%20manul
GET :baselol/v1.4/summoner/by-name/:name
Riot-Region: :region
# Summoner recent games
:summonerId = 576754
GET :baselol/v1.3/game/by-summoner/:summonerId/recent
Riot-Region: :region
# Match
:matchId = 2203515792
GET :baselol/v2.2/match/:matchId
Riot-Region: :region
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment