Skip to content

How to setup API services through Google Console

Bokopi edited this page Sep 25, 2016 · 11 revisions

Setting up API services

First of all you should create A API Services through google. first go to API Console

When you see allot of colums select the colum Google Maps Javascript Api.

go to Dashboard Tab and press on google maps JavaScript API Enable.

After That go to credentials Tab and select Create credentials ----> API Key.

When the API Key has been Created. Copy the Key and press the button close.

alright after the Services has been setup we need to edit some configs.

Download or clone the https://github.com/maierfelix/POGOserver/tree/api when you have the files place them into You're Xamp/Htdocs. should be located C:\Program Files\Xamp\Htdocs.

Edit the configs

first open up the POGOserver/cfg.js i Preffer with Notepad ++ and scrol down when you see.

// Google maps api key GMAPS_KEY: "AIzaSyDF9rkP8lhcddBtvH9gVFzjnNo13WtmJIM", replace this API Ket with You're API Key.

And press save.

than open up into API/cfg.js and search for

API:

HOST: "127.0.0.1",

PORT: 3000,

ROUTE: "/api"

GMAPS: {

API_KEY: "XXXXX", Enter API Key Here

BASE_ZOOM: 20,

BASE_LAT: 39.18875480450959,

BASE_LNG: -96.58109955489635

And press save.

When everything has been edited, go to You're internet Browser and go to localhost.

Login with root and leave your password empty and click login.