PHP library for Apixu Weather API
Latest commit d1af1f6 Jun 16, 2015 @apixu Updated
Failed to load latest commit information.
.gitattributes 👾 Added .gitattributes Jun 16, 2015
Current.php Update Jun 16, 2015
Forcast.php Update Jun 16, 2015
LICENSE Create LICENSE Jun 16, 2015 Updated Jun 16, 2015

A php api to parse weather data from This api retrieves and normalise the data received from api call to

For example code and how to use this api, please take a look into Examples_*.php files

  • Examples_Current.php Shows how to receive the current weather.
  • Examples_Forecast.php Shows how to receive weather forecasts.


-This api uses cUrl extension for php. -You will need Api key to make call, you can get it from

Example call

    $key = "YOUR_API_KEY";
    $city = 'paris';
    $url = "$key&q=paris&=" ;

    $ch = curl_init();  

    $weather = json_decode($json_output);
    echo "Temperature: " . $weather->current->temp_c;