Skip to content

Instantly share code, notes, and snippets.

@Ratstail91
Last active April 9, 2021 18:28
Show Gist options
  • Select an option

  • Save Ratstail91/48f3f2fd88a8b9877edfe0eefdbc9451 to your computer and use it in GitHub Desktop.

Select an option

Save Ratstail91/48f3f2fd88a8b9877edfe0eefdbc9451 to your computer and use it in GitHub Desktop.
# Every route is a GET and HEAD route
# All data is returned in JSON format
#########################
# global "last updated" data can be fetched from here
/stat/v1
# potential utility routes
/stat/v1/shop*
/stat/v1/battle*
#########################
# return a list of all element keys
/stat/v1/elements
# return entire type graph
/stat/v1/elements/all
# return specific element's type graph
/stat/v1/elements?key=
#########################
# return a list of all item keys
/stat/v1/items
# return details of all items
/stat/v1/items/all
# return details of a specific item by key
/stat/v1/items?key=
#########################
# return a list of all species keys
/stat/v1/species
# return all species profiles
/stat/v1/species/all
# return profile of a specific species by key
/stat/v1/species?key=
# filter profiles based on element
/stat/v1/species?element=
# filter profiles based on rarity
/stat/v1/species?rarity=
# filer profiles based on possessing a technique
/stat/v1/species?technique=
#########################
# return a list of all technique keys
/stat/v1/techniques
# return all techniques
/stat/v1/techniques/all
# return details of a technique by key
/stat/v1/techniques?key=
# filter details of all techniques by type (physical or magical)
/stat/v1/techniques?type=
# filter details of all techniques by element
/stat/v1/techniques?element=
# filter details of all techniques by signature element
/stat/v1/techniques/signature?element=
# filter details of all techniques by signature species
/stat/v1/techniques/signature?species=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment