🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

is-pokemon-go-up-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-pokemon-go-up-api

API version of is-pokemon-go-up

2.0.0
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

is-pokemon-go-up-api

A simple api server for checking the status of pokemon go.

npm install --save is-pokemon-go-up-api

Usage

// To run as a standalone server
isPokemonGoUpApi = require('is-pokemon-go-up-api');
isPokemonGoUpApiServer = isPokemonGoUpApiServer.run();
/* You can also just get the handler it uses internally. It expects the standard
node http library request, response format
*/

isPokemonGoUpApi = require('is-pokemon-go-up-api');
isPokemonGoUpApiHandler = isPokemonGoUp.handler;

You can also run it standalone by running its index.js. Port defaults to 8080, you can change it by setting the environment variable POKEMON_PORT

By default it responds with a simple text payload. The payload depends on the server status. You can see all the possible responses at is-pokemon-go-up , the module that powers the api.

It also supports json.

GET /PATH/TO/API?json=true
response
{"status" : "string"}

MIT (c) @robotmayo

Keywords

pokemongo

FAQs

Package last updated on 12 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts