FREE USAGE

API Docs

Test Console

Tag News

Methods

  • getForecasts

getForecasts (GET)

Gets forecast given a location

Parameters

location
STRING
Your location

For example: "Los Angeles"

Results (Array)

condition
STRING
Conditions

For example: ""Partly Cloudy""

day_of_week
STRING
day of the week

For example: "Mon"

high
NUMBER
High temperature (°F)

For example: "79"

low
NUMBER
Low temperature (°F)

For example: "60"

Example

JSON
[
  {
    "condition": "\"Partly Cloudy\"",
    "day_of_week": "Mon",
    "high": 79,
    "low": 60
  }
]

JSON (Learn how)

GET http://0DeSXm0SmZSk5VxUbatUFBjcq.proxy.mashape.com/api.php?_method=getForecasts&location=A-VALUE
  • The required parameters have a yellow background, while the optional are gray
  • Authentication: Request a valid _token before making the API call. Learn how.

PHP (Learn how)

This client library will be auto-generated on the fly

Ruby (Learn how)

This client library will be auto-generated on the fly

Python (Learn how)

This client library will be auto-generated on the fly

Java (Learn how)

This client library will be auto-generated on the fly

Objective C (Learn how)

This client library will be auto-generated on the fly

Erlang (Learn how)

This client library will be auto-generated on the fly