Skip to content

Instantly share code, notes, and snippets.

from googleapiclient.discovery import build
# Set DEVELOPER_KEY to the API key value from the APIs & auth > Registered apps
# tab of
# https://cloud.google.com/console
# Please ensure that you have enabled the YouTube Data API for your project.
DEVELOPER_KEY = ''
YOUTUBE_API_SERVICE_NAME = 'youtube'
YOUTUBE_API_VERSION = 'v3'
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
// 'starter.services' is found in services.js
// 'starter.controllers' is found in controllers.js
angular.module('starter', [ 'ionic', 'starter.controllers', 'starter.services' ])
.run(function ( $ionicPlatform ) {
[ { "lat":"17.4631866" , "lon":"78.3673211" , "name" :"Wings n Fries"},
{ "lat":"17.4615417" , "lon":"78.3672648" , "name" :"Haveli Bar Restaurant"},
{ "lat":"17.4618664" , "lon":"78.3669038" , "name" :"Spice Village"},
{ "lat":"17.4450177" , "lon":"78.3860075" , "name" :"Olive Garden"},
{ "lat":"17.4314951" , "lon":"78.3887075" , "name" :"Something Fishy"},