Skip Navigation

Using the Darksky API with PHP

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.




Peter Medina

Learning Outcome:

  • Consuming API's to get dynamic, ever changing information
  • Combining multiple API's to complete certain tasks
  • Responding to user input via PHP forms
  • Looping through data and displaying alerts when things go wrong