Jump to content
RealModScene

nybadgirl

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by nybadgirl


  1.  

    i had some free time and found way to make weather in fsd work. you just need to google old api key(24 characters worked for me) or use your own if you have one.

    fsd uses http://api.worldweatheronline.com/free/v1/... type of links and they work pretty well. everything you need is an old api key.

    worldweatheronline has two types of links:

    http://api.worldweatheronline.com/free/v1/...

    http://api.worldweatheronline.com/free/v2/...

    first for old api keys(24 chars) and second for new api keys(29 chars, i assume some time ago there wasn`t such division).

    worldweatheronline gives api keys for free, which will work only with second type. premium api key can be obtained for money. but you can use any valid key you obtained for free a while ago or google it on forums.

    i have tried changing links in default.xex, but xml structures for v1 and v2 aren`t the same, so fsd have troubles displaying info correctly.

     

    UPD: if the key you googled doesn`t work: each key has "Queries per day" limitation(1000 per day). and, as a result of of its publicity, this limit is reached very quickly.

    you can check your key with this link:

    http://api.worldweatheronline.com/free/v1/weather.ashx?q=New+York&num_of_days=5&includeLocation=yes&format=xml&key=YOURKEY

    Thanks I got my free key but it's v2 and still getting undefined so does v2 not work at all?

    Thanks again!

×
×
  • Create New...