Skip to content

Commit 78d88a2

Browse files
"Updating samples to reflect recent changes."
1 parent c68aa2c commit 78d88a2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

java/src/main/java/com/google/api/services/samples/youtube/cmdline/data/GeolocationSearch.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ public void initialize(HttpRequest request) throws IOException {
140140
// Call the YouTube Data API's youtube.videos.list method to
141141
// retrieve the resources that represent the specified videos.
142142
YouTube.Videos.List listVideosRequest = youtube.videos().list("snippet, recordingDetails").setId(videoId);
143-
144-
// Set your developer key
145-
listVideosRequest.setKey(apiKey);
146-
147143
VideoListResponse listResponse = listVideosRequest.execute();
148144

149145
List<Video> videoList = listResponse.getItems();

0 commit comments

Comments
 (0)