Skip to content

Instantly share code, notes, and snippets.

@Ratstail91
Created April 8, 2021 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ratstail91/70e2983e76bc100eb557ca5f5bcc4c8a to your computer and use it in GitHub Desktop.
Save Ratstail91/70e2983e76bc100eb557ca5f5bcc4c8a to your computer and use it in GitHub Desktop.
potential public api for egg trainer
# Every route is a GET and HEAD route
# global "last updated" data can be fetched from here
/stat/v1
# potential utility routes
/stat/v1/shop*
/stat/v1/battle*
# return entire type graph
/stat/v1/elements
# return specific element's type graph
/stat/v1/elements/:key
# return a specific elemental type matchup
/stat/v1/elements/:key/:val
# return details of all items
/stat/v1/items
# return a list of all item keys
/stat/v1/items/keys
# return details of a specific item
/stat/v1/items/:key
#return details of all normal items
/stat/v1/items/normal
# return details of all premium items
/stat/v1/items/premium
# return all species profiles
/stat/v1/species
# return a list of all species keys
/stat/v1/species/keys
# return profile of a specific species by key
/stat/v1/species/:key
# return profiles based on element
/stat/v1/species/:element
# return profiles based on rarity
/stat/v1/species/:rarity
# return profiles based on possessing a technique
/stat/v1/species/technique/:technique
# return all techniques
/stat/v1/techniques
# return a list of all technique keys
/stat/v1/techniques/keys
# return details of a technique by key
/stat/v1/techniques/:key
# return details of all techniques by type (physical or magical)
/stat/v1/techniques/:type
# return details of all techniques by element
/stat/v1/techniques/:element
# return details of all techniques by signature element
/stat/v1/techniques/signature/:element
# return 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