1 Screenshot

About This File

Server-sided script, that getting a real weather hourly and sets it in the gta 5 world.

 

HowTo:

I. Install getJSON: npm install get-json --save

II. Go to https://developer.accuweather.com/ and register as the Developer.

III. To get your new API key, create your WeatherAPP here, https://developer.accuweather.com/user/me/apps
 On the question: "What programming language is your APP written in?" Answer will be: JavaScript.

IV. Go to https://www.accuweather.com/ and find your preferred location on the map or by the search field, for example: Moscow, Russia.
 To set more accurate location to your preferred, click on the nearest point on the map, for me it is Yakimanka, then click on 'Hourly".

V. The URL will look like this: https://www.accuweather.com/en/ru/yakimanka/2515350/hourly-weather-forecast/2515350
  Well, 2515350 is the Location Key that we will use further.
 
VI. Let's assemble your AccuWeather URL: http://dataservice.accuweather.com/forecasts/v1/hourly/1hour/YOUR_LOCATION_KEY?apikey=YOUR_API_KEY

VII. Paste new AccuWeather URL into the script and save it.

Warning! The Trial Version of AccuWeather is limited for 50 requests per day.

 

GitHub

 


What's New in Version 1.0.0   See changelog

Released

No changelog available for this version.




User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

ynhhoJ

   2 of 2 members found this review helpful 2 / 2 members

https://www.npmjs.com/package/weather-js

https://www.npmjs.com/package/nodejs-weather-app

Alternatives what i used...it's work very good and like i know, requests is unlimited.

Response from the author:

As i know, MS closed access to  MSN Weather Service API on April 15, 2016 (it's about a weather-js).

But you can bypass the limits of the trial version by making the list of the URLs and use them turns. For example.

Share this review


Link to review