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

 




User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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