What changes i have to do in my file?

Recommend this page to a friend!

      PHP Weather Forecast API  >  All threads  >  What changes i have to do in my file?  >  (Un) Subscribe thread alerts  
Subject:What changes i have to do in my file?
Summary:not able to do changes
Messages:3
Author:Gaurav Singh
Date:2015-07-14 14:29:02
 

  1. What changes i have to do in my file?   Reply   Report abuse  
Gaurav Singh - 2015-07-14 14:29:02
Hi,

I have download your code and got the api code.
Please let me know where i have to make changes in the code.

I will be very thankful to you.

Best Regards
Gaurav

  2. Re: What changes i have to do in my file?   Reply   Report abuse  
Gaurav Singh - 2015-07-14 14:43:51 - In reply to message 1 from Gaurav Singh
I Changed in Index.php file in Line no 14
$weather = new WeatherForecast('2a9709c0d4c7c650a09ce257....');
and Line 17
$weather->setRequest('Banglore', 'India', 2);

Result is "The weather conditions were not found."

  3. Re: What changes i have to do in my file?   Reply   Report abuse  
Giovanni Ramos - 2015-07-14 23:34:46 - In reply to message 2 from Gaurav Singh
You have to generate a key in: Free-Weather-API (Older version)

 

For more information send a message to info at phpclasses dot org.