Skip to content

Getting Started

dec4234 edited this page Aug 9, 2020 · 6 revisions

Here you can learn what is required for starting work with the API. The core class is called DestinyAPI, this is where you set your api key, and optionally: the client id, secret, and oauth code.

DestinyAPI api = new DestinyAPI().setApiKey("YOUR_API_KEY_HERE").setClientID("CLIENT_ID").setClientSecret("CLIENT_SECRET").setOauthCode("OAUTH_CODE");

DestinyAPI has to be initialized prior to any of the features inside the API that make requests to Bungie.net. The Client id, client secret and oauth code only need to be used whenever oauth is in play, so to start you don't need to bother with them.

Clone this wiki locally