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.