API Referral Help

  • 1
  • Question
  • Updated 6 years ago
Trying to integrate the referral url into this script. I'm using this to get the 10 day forecast:

http://api.wunderground.com/api/{myap...

How would I put my WU API Referral in there? ?apiref=xxxxx

Thanks!
Photo of Tony Taurisano

Tony Taurisano

  • 7 Posts
  • 2 Reply Likes

Posted 6 years ago

  • 1
Photo of Tony Taurisano

Tony Taurisano

  • 7 Posts
  • 2 Reply Likes
Nothing from any of the developers?
Photo of afelicioni

afelicioni

  • 227 Posts
  • 43 Reply Likes
AFAIK the "apiref" URL gives you the opportunity to gain credits to avoid response denials to API requests.
You should gain points every time a user of your-website / your-desktop-application / your-mobile-app / you-name-it makes some kind of interaction with this URL (or just simply, navigate to it).

I can think about this: you have created a mobile app, and in a screen view you show the forecast data, including a button linked to your apiref URL. You shall not get credited when the app show data to the user, but if he/she taps on the button and gets redirected to a webview or browser, you should get a referral hit.