Learning to work with APIs

These last few days of our class we started to learn about Application program interface (API) and how we can start to use them. The first API we learned to use was Openweathermap. This API allows us to show the weather on our own site if we wanted to. We also learned how to use php to make sure the weather always showed as fahrenheit. This is how it came out.

WeatherAPI

The next API we worked with was Google Maps. We used this API to create a basic google map page and then we also used it to work with google’s Geocoding. With Geocoding we were able to have the page find out exact location and this is usually used so a user knows where they’re. These are the examples we made.

Googlemap

Geolocation

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

css.php