Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
103 lines (51 sloc) 4.3 KB

Get API Keys

Battlefield API Key

Required by `battlefield1` and `battlefield4` commands.

Go to Battlefield Tracer Network Site.

Login/Register your account (Click Login/Register at the top right corner). After you've (registered and) logged in, click on Generate API key.

Fill up the given form with your name, email, website (you can also use https://bastionbot.org) and description. After that click on Generate API key.

Then you'll see your API Key under the Authentication section.

Bungie API Key

Required by `destiny2` command.

Go to Bungie Applications.

Login/Register your account. After you've (registered and) logged in, click on Create New App.

Fill up the given form with your name, website (you can also use https://bastionbot.org) and select the OAuth client type to Not Applicable.

Then if you agree to their Terms of Use, click on Create New App.

Then you'll see your API Key under the API Keys section.

Clash of Clans API key

Required by `coc` command.

Go to Clash of Clans API.

Login/Register your account.

After login choose My Account from the dropdown menu located top right corner.

Click Create New Key

Set name for the key, description is optional.

Allowed IP addresses requires the IP address of your Bastion bot. You can get your IP address for example from here. Make sure to use IPv4.

After that click Create Key and now you should have your API key.

Copy the key and add it into the credentials file.

Fortnite API Key

Required by `fortnite` command.

Go to Fortnite Tracer Network Site.

Login/Register your account (Click Login/Register at the top right corner). After you've (registered and) logged in, click on Generate API key.

Fill up the given form with your name, email, website (you can also use https://bastionbot.org) and description. After that click on Generate API key.

Then you'll see your API Key under the Authentication section.

Google API Key

Required by `maps` and `shorten` commands.

Go to the Google API Console.

Create a new project, name it anything you like. Once the project is created, click on Enable APIs.

Now, enable Google Static Maps API and URL Shortener API.

On the left tab, click Credentials. Then click Create Credentials button. Now click on API Key. A window will popup with your Google API key.

HiRez API Key

Required by `paladins` and `smite` commands.

Fill up the Hi-Rez Developer Credentials Application Form with correct details. Then submit it. After HiRez Studios have verified you, they will mail you with your HiRez DevId & AuthKey. It generally takes few hours for them you mail you, so you can proceed with the installation, as you can add these to your `credentials.json` file anytime later.

Patreon API Key

Required by `patrons` command.

Go to the Patreon Client Registration.

Click on the Create Client button.

Fill up the details as applicable, and click on the Create Client button at the bottom.

Now that your client is registered, you'll see the required credentials listed under your client.

Rocket League API Key

Required by `rocketLeague` command.

Rocket League's API is currently in closed beta. So, you can't request an API key yet. Therefore, you can't use this command yet. Only a selected few have access their API. And Bastion is one of them, so the public Bastion bot can make use of the rocketLeague command. As soon as they allow public access to their API, you can request an API key and use the rocketLeague command in your self hosted Bastion.

Twitch API Key

Required by `streamers` and `twitch` commands.

Read this article on How to get Twitch API Client ID & Client Secret.

You can’t perform that action at this time.