Game
This page has methods that include things like creating developer products and getting game information. The page below introduces you to "promises" which is what is used to handle success and errors with the API.
createDeveloperProduct
This method requires authorization
This method has to make 3 separate HTTP requests and can take multiple seconds. Keep this in mind if you're for some reason making multiple developer products.
This method creates a developer product in the specified game (as long as you have permissions to it)
Sample code:
Arguments:
Returns: (an example of a successful return in the code above)
getGameInformation
This method does not require authorization.
This method returns an array of game information for the specified place.
Sample code:
Arguments:
Returns: <array> (example below is of my own game)
updateDeveloperProduct
This method requires authorization
This method updates a specified developer product to the new information you want
Sample code:
Arguments:
Returns: {}
getGamepasses
This method does not require authorization.
This method returns gamepasses of the specified game in a page format, if you don't know how to use pages you should check out the guide below.
Sample code:
Arguments:
Returns: <page object>
Last updated