Weather API from Mashape

This is a sample spec that describes a Mashape Weather API as an example to demonstrate features in the Swagger-2.0 specification. This output is part of the <a href="">Documenting REST API course</a> on my site. The Weather API displays forecast data by latitude and longitude. It's a simple weather API, but the data comes from Yahoo Weather Service. The weatherdata endpoint delivers the most robust package of information of the endpoints here. To explore the API, you'll need an API key. You can sign up for an API through Mashape, or you can just use this one: `EF3g83pKnzmshgoksF83V6JB6QyTp1cGrrdjsnczTkkYgYrp8p`. For the latitude and longitude parameters, you can get this information from the URL of a location on Google Maps. For example, for Santa Clara, California, use the following: * **lat**: `37.3708698` * **lng**: `-122.037593`

Get Started

Getting Started

A step-by-step tutorial for getting started with the SDKs, right from installing to making your first API call.


Easily authenticate the client for making calls to the server.

SDKs & Code Samples

Code Samples are the quickest path to the first hello world, while SDKs lift the heavy burden of communication with an API.

API Console

Start making Live API calls with your input without writing a single line of code.