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

Introduction

Learn how to create an interactive weather forecast website using PHP and the Darksky API. We cover everything from the initial setup to getting the forecast for any address on earth, to automatically converting formats from Fahrenheit to Celsius depending on your location. This series assumes a basic understanding of HTML, CSS, PHP, and JSON.

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