Skip to content

Basildcruz/sample-mashery-weather-underground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WEATHER UNDERGROUND API DEMO APP

Created lovingly for the developer community by Mashery. http://www.mashery.com http://developer.mashery.com

Intel(R) XDK

This sample is part of the Intel(R) XDK. Please sign up at http://software.intel.com/en-us/html5.

Application Files

  • README.md
  • app_framework/*
  • css/*
  • images/*
  • index.html
  • js/*
  • lib/*
  • xdk/*

Copyright (c) 2012-2013, Intel Corporation. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

INTEL'S APP FRAMEWORK

  • source: Intel's App Framework - v2.1.0 - 2014-05-22
  • license: MIT X11 license

SYNOPSIS

This demo App provides a way to see the Weather Underground API in action. It is built using Intel's Cross Platform Development Kit (XDK) that lets you create mobile apps for smartphones and tablets using standard web languages (HTML5, CSS, and JavaScript).

WHAT DOES THIS APP DO?

Uses the Weather Underground API to get Weather Forecast: Day, Weather Symbol Icon, Text Forecast

GETTING STARTED

You will need the following to get started -

  1. Intel's XDK. Free Download - http://xdk-software.intel.com/
  2. A Weather Underground API key (Register at http://www.wunderground.com/weather/api/d/login.html).

OBTAINING THE API KEY

Before you can begin using this app, you will need to get an API key from Weather Underground at http://www.wunderground.com/weather/api/d/login.html

SETTING UP THE API KEY IN THIS APP

Once you have obtained your API key, go to xdk folder > service-credentials.js > on line 11 type or paste your key into "PLACE-YOUR-API-KEY-HERE"

ABOUT THE Weather Underground API

Weather Underground's APIs allow developers to access weather information: conditions, forecast, history, and more.

In this demo app we utilize the Weather Underground's Forecast Information: Day, Weather Symbol Icon, Text Forecast. By using XDK's Explore Services > Weather Underground > Type or Paste in your API Key in the designated input field, you can observe how easy it is to make an API call.

Get detailed information about the Weather Underground APIs at http://www.wunderground.com/weather/api/

ABOUT THE MASHERY API NETWORK

The Mashery API Network (http://developer.mashery.com) is an open data commons of over 40 RESTful APIs that developers can access with their Mashery ID.

Mashery is the world's leading API management service provider, helping companies provide the best API experience for developers, as well as the most advanced API management and reporting tools to our clients.

EXPLORE MORE APIS

Check out Mashery's API Network at http://developer.mashery.com/apis to explore other awesome APIs including Beats Music, Edmunds.com, USA TODAY, Rotten Tomatoes, Best Buy, and more.

SUPPORT

If you have any questions or need any help obtaining an API key, you can reach out to us at: developer-relations@mashery.com

About

This demo app provides a way to see the Weather Underground API in action.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • CSS 2.3%
  • HTML 0.9%