Skip to content

sebcodes/WeatherAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

WeatherAPI

A WeatherAPI class written in PHP that works with the openweathermap API

Installation

Extract the downloaded zip in your directory

Usage

<?php

#include file
use Sebcodes\WeatherAPI;
require_once 'WeatherAPI.php';

#set town/country

$weather = new WeatherAPI("Germany");

#get temperature
echo $weather->get()->temp;
    

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages