Skip to content

Commit 43e81d6

Browse files
author
Weiqing Toh
committed
Update README and API key
1 parent d51b931 commit 43e81d6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ geo-search-tool
44
A web app that uses the YouTube Data API v3's search functionality to find videos tagged with geo-coordinates.
55

66
View the live demo at http://youtube.github.io/geo-search-tool/search.html
7+
8+
To use your own API key, create a project in Google Cloud and ensure the following services are enabled:
9+
- Maps Javascript API
10+
- Geocoding API
11+
- YouTube Data API

js/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var queryFromClickSearchNotURL = false;
5151
var INITIAL_ZOOM_LEVEL = 11;
5252
var MONTH_NAMES = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
5353
//var API_ACCESS_KEY = 'AIzaSyAEcfhZe0akd47CTYaEOWQ1bLCCbLUfVEY';
54-
var API_ACCESS_KEY = 'AIzaSyBuQiHS4B-axfTUpBGNeJlF2J78k962zkc';
54+
var API_ACCESS_KEY = 'AIzaSyCucciooXX5Cic25_SnyMjDeDBDahL5z1o';
5555

5656

5757
var CAR_REGEX = /\d{4} (?:dodge|chevy|ford|toyota|bmw|mercedes|honda|chrysler|pontiac|hyundai|audi|jeep|scion|cadillac|volks|acura|lexus|suburu|nissan|mazda|suzuki|buick|gmc|chevrolet|lincoln|infiniti|mini|hummer|porsche|volvo|land|kia|saturn|mitsubishi)/i;

0 commit comments

Comments
 (0)