IgorVaryvoda / cost-of-living-api

An API for getting the cost of living in a city

Home Page:https://cost-of-living-api-lqvgibwbps.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cost of Living API

Unofficial Numbeo Cost of Living JSON API

Getting Started

First, install dependencies:

npm install

Then run the application in development mode:

npm run dev

API

/:city?currency

Returns the cost of different items in the requested city. Return an empty array of costs if there is not city data available.

Params

city

The city for which you want to retrieve cost-of-living data for

Query

currency

The three letter currency code for the currency you want values in. Defaults to CAD.

About

An API for getting the cost of living in a city

https://cost-of-living-api-lqvgibwbps.now.sh


Languages

Language:JavaScript 100.0%