Last active
December 11, 2019 23:49
-
-
Save peyo/df19f4411cad23a481595e93a8c970de to your computer and use it in GitHub Desktop.
Statue of Liberty geolocation using Google Geolocation, Geocoding, Places APIs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YouTube API | |
// 1 | |
Subscription list | |
Endpoint: GET https://www.googleapis.com/youtube/v3/subscriptions | |
// 2 | |
Parameter | |
parameter - data type - example | |
Required: | |
(1) part - string - contentDetails | |
Optional: | |
(1) forChannelID - string - UCzQUP1qoWDoEbmsQxvdjxgQ (This is the channel ID for PowerfulJRE) | |
This is how you would get the channel ID: https://stackoverflow.com/questions/14366648/how-can-i-get-a-channel-id-from-youtube | |
(2) order - string - relevance | |
--------------------- | |
Geographic coordinates in JSON format | |
Need to enable Geolocation API, Geocoding API, and Places API | |
The Statue of Liberty | |
https://maps.googleapis.com/maps/api/geocode/json?components=address=new+york,+ny&key= // MY API KEY | |
Maybe | |
https://maps.googleapis.com/maps/api/geocode/json?address=new+york, | |
+ny&components=point_of_interest:"the statue of liberty"&key= // MY API KEY HERE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment