AlexanderGranhof / weather

A simple API exercise for a CS PHP course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI Scrutinizer Code Quality Code Intelligence Status

Usage

Require the file via the namespace algn/DarkSky and createa new instance of the class by passing your api key in the constructor.

You can use the following methods to retrieve data from dark sky.

today() - Returns weather data from today week() - Returns weather data from today and a week ahead past30Days() - Returns data from the past month

About

A simple API exercise for a CS PHP course

License:MIT License


Languages

Language:HTML 64.7%Language:Shell 15.4%Language:Makefile 13.2%Language:PHP 3.2%Language:CSS 2.0%Language:JavaScript 1.5%