World Cities

FREEMIUM
By andruxnet
Updated 4 months ago
Location
8.5/10
Popularity Score
374ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
batyamahno23:23 days ago
1 Answer

City name

eversionsystems:4 months ago
1 Answer

Issue

scortu:6 months ago
1 Answer

What am i doing wrong?

bouli:a year ago
0 Answers

There´s no cities from São Paulo - Brasil =(

aikidoesurf81:a year ago
1 Answer

Many cities missing

jenn-sung:a year ago
1 Answer

Getting a 404 error when testing API

zackzane:2 years ago
1 Answer

Missing data for half of Canada

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://andruxnet-world-cities-v1.p.rapidapi.com/?query=paris&searchby=city")
.header("X-RapidAPI-Host", "andruxnet-world-cities-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication