Keep track of where you left off & more. Sign up today
Using the Darksky API with PHP:

Using the Googple Geolocation API

The Darksky API only accepts coordinates when making a forecast request, but it's not how many users expect to search for a forecast. Let's change that. This episode of Using the Darksky API with PHP will show you how to use the Google Geocoding API to take any address or location and get coordinates to send to Darksky. Our search form is about to become a lot more user friendly.

Episodes

Introduction

1m

Getting the API Key

4m

Creating a Starter Page

3m

Displaying Your First Live Forecast

12m

Rounding Numbers

6m

Displaying an Hourly Forecast

23m

Displaying a Weekly Forecast

18m

Creating Partial Files

10m

Creating a Search Form

18m

Using the Googple Geolocation API

21m

Handling Missing Locations

6m

Commenting Our Code

7m

Excluding Data

6m

Converting to Celsius

10m

Automatic Format Conversion

9m

Adding Weather Icons

21m