/apixu-node-api-weather-app

Apixu Node API Weather App is a node app with a difference - displaying the current weather report for a given location(s) (via JSON) accompanied with an extremely polite and totally non sarcastic English tone.

Primary LanguageJavaScript

Apixu Node api Weather Sarcastic App

Apixu Node API Weather App is a node app with a difference - displaying the current weather report for a given location(s) (via JSON) accompanied with an extremely polite and totally non sarcastic English tone.

Version

0.0.1

Tech

Apixu Node api Weather App uses the following weather api.

Installation

You need Node installed globally:

[node.js] NODE

Type:

$ node app.js

followed by any of the following queries:

  • city name e.g.: q=Paris
  • US zip e.g.: q=10001
  • UK postcode e.g: q=SW1
  • Canada postal code e.g: q=G2J
  • Latitude and Longitude e.g: q=48.8567,2.3508
  • metar: e.g: q=metar:EGLL
  • iata:<3 digit airport code> e.g: q=iata:DXB
  • auto:ip IP lookup e.g: q=auto:ip
  • IP address e.g: q=100.0.0.1

E.G

Input:

$ node app.js London 76430

Output:

A frightfully cold 21.6 deg C in Albany right now, mist and remarkably pleasant with 12.5 mph of wind.

An awfuly sweltering 7 deg C in London right now, overcast  and rather blustery with 9.4 mph of wind.

Development

This app is currently under Development with the following todo list:

  • Add x number of day(s) detailed forecast for location(s)
  • Develop into a Web App
    • Add search functionalitly within Web App
  • AND finally, to enhance the personalitly and sacasmometer of the app (currently standing at -3 out of 10..)

Feel free to clone this repo and develop it to how you see fit!

$ git clone https://github.com/chrisj-skinner/apixu-node-api-weather-app.git

License

MIT