Creating a Minimal Web Application Using AccuWeather API (Free)

Before starting this tutorial, Let me make here clear that, this app is applicable for using AccuWeather freely available services only.

AccuWeather Free APIs :

  • AccuWeather Locations API
  • AccuWeather Forecast API
  • AccuWeather Current Conditions API
  • AccuWeather Indices API
  • AccuWeather Weather Alarms API

To use AccuWeather services for any commercial benefits, you are requested to go for Enterprise level AccuWeather API, by requesting to AccuWeather sales team.

Now let us Start the Tutorial

For using the API, you first need to register at its developer portal.

http://developer.accuweather.com/

Fill the registration form (needs a valid email id and phone number). Check your email to get the activation link and activate your account by clicking on this link inside the mail.

First time you will be given a page for login into AccuWeather developer site, just to change the password.

After doing that, you will become a registered member of Accuweather Developer portal. Click on MY APPS menu and add a new app by clicking “Add a new App” button on the right

weather5

Fill appropriate values in the requesting fields and lastly click Create app button.

Your app will be created instantly and you will be redirected to a page containing all your API related details including the api key (the primary requirement for code working).

This app will help you getting the weather details of the searched location.

You can get the full code of the app here.

The result page will look like as :

weather_result

After doing this you can create a web application using AccuWeather API. If facing any issue, please let us know. Thanks

Download Script

Recommended Posts For You

About Manish Kumar

I am PHP web developer and blogger.

View all posts by Manish Kumar

Leave a Comment

Your email address will not be published. Required fields are marked *