Gwapic PHP class allows you to display the current weather, the simplified forecast and the webcams near by a location using the Google Weather API and the Webcams.travel API .
Display the weather of the city of your choice in few lines, get diverse information like the latitude and longitude (for placement location on Google Maps for example), the current time, the sunrise and sunset of the location.
Informations
In the zip file are included icons that are used in the demo page. These icons are not my creation.
I’ve included it to improve and offer you a replacement basis for your own icon pack.
That icons are free and are therefore under no circumstances be sold with Gwapic, you can also download these icons for free by clicking HERE .
The examples are shown on the page are provided with Gwapic and are placed in the “Examples” folder.
An Webcams.travel API key is attached with Gwapic, however if you want to get your own key, you can register for free by clicking here.
Features
- Get the current weather
- Use of customized icons for the representation of climatic conditions
- Get 3 days simplified forecasts
- Get the coordinates of a location
- Get the time, sunrise and sunset of a location
- Automatic detection of language of the visitor and use it for weather
- Automatic change of the unit of measure (° F or ° C) depending of the country of the visitor
- Get the weather according to the city’s visitor (GeoIP)
- Get the webcams near by a location
Demos
You will find demos by clicking here.
You can also take a look at this demo page by clicking here. You will find the display of the current weather, forecasts, and the list of webcams near the place.