This API is for weather information. We need to pass certain parameters like city to get weather information for a particular city. There are many types of request available with this API like current hour, 48 hours detailed forecast and 7 day detailed forecast.
This API is for showing different alerts issued by “NATIONAL WEATHER SERVICE” of different countries. This further can be used for specific city by sending city ID with there request made to API.
We have created a weather information product using “Custom Weather API” and “National Weather Service Alerts”. This web based product is primarily to be used for US and CANNADA, and has weather according to city selected. Data is diaplyed on temperature and other specifics. For integrating API’s we have used CURL with PHP.
We have made two different calls to API using CURL current condition and 48 hours detailed forecast respectively. User of the site is required to enter city to get results. The major challenge in the project is to use minimum API calls to avert delays in results. We used PHP sessions to overcome this problem and reused already saved data.
