I just used my first API on a webpage! This is pretty exciting since all of my app ideas require the use of APIs but I never really understood what they were exactly or how to integrate them. Using the goggle maps API was very simple, all I had to do was sign in with my google account and obtain an API key, select which mode I wanted (place, directions, search, or view) and type in the location. The iframe html tag was:
<iframe width="600" height="450" frameborder="0" src="https://www.google.com/maps/embed/v1/place?key=API_KEY &q=Space+Needle,Seattle+WA"> </iframe>
in which we can change the bolded parts.
Source:
https://developers.google.com/maps/documentation/embed/guide
<iframe width="600" height="450" frameborder="0" src="https://www.google.com/maps/embed/v1/place?key=API_KEY &q=Space+Needle,Seattle+WA"> </iframe>
in which we can change the bolded parts.
Source:
https://developers.google.com/maps/documentation/embed/guide