Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Using a hashing server

nico edited this page Feb 26, 2017 · 2 revisions

Using a hashing server

If you want to use version latest versions of Pokémon GO API, you need to use a hashing server provided by Bossland GmbH. This service costs money. They offer different plans with different costs for different sized projects; see their plans here. Questions about paying, getting the API key and/or limits of the different plans should be directed to Bossland GmbH/PokeFarmer (start with their FAQ). Their prices range from approximately 4€ to 370€.

Using the key in pogobuf

Pogobuf allows using hashing server with an API key. To use the API key, give it in the options when initialising pogobuf (see options). To use a hashing server the version must be 0.57.2 (5702) or higher (recommended to use highest available version).

Example
new pogobuf.Client({
    version: 5702, // Use API version 0.57.2 (minimum version for hashing server is 5100)
    useHashingServer: true,
    hashingKey: 'your-hashing-key'
});

Note: You must give options authType and authToken too, but because they aren't relevant to this example they were excluded

Using SSL/HTTPS version of hashing server

As of 2017-01-05 (ISO 8601) the community-provided domain (hashing.pogodev.io) does not allow SSL/HTTPS yet. This is why pogobuf uses the non-SSL/HTTP version. If you want to use SSL, you can change the hashing server base URL/domain to Bossland GmbH's domain (pokehash.buddyauth.com) which allows SSL.

Example
new pogobuf.Client({
    version: 5702,
    useHashingServer: true,
    hashingKey: 'your-hashing-key',
    hashingServer: 'https://pokehash.buddyauth.com/' // SSL
});

Note: You must give options authType and authToken too, but because they aren't relevant to this example they were excluded

Examples

Catchable Pokémon-example has implemented hashing server usage. See the example here.