Last active
March 16, 2016 01:18
-
-
Save clarkbw/b7d6a162b8e3e78681a8 to your computer and use it in GitHub Desktop.
Revisions
-
clarkbw revised this gist
Dec 16, 2014 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,10 +35,6 @@ "type": "number", "required": true, "doc": "Time as seconds since midnight, January 1, 1970 UTC to determine daylight savings" } } }, -
clarkbw created this gist
Dec 15, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,54 @@ "google": { "name": "google", "debug": true, "connector": "rest", "operations": [ { "template": { "doc": "The Google Time Zone API", "method": "GET", "url": "https://maps.googleapis.com/maps/api/timezone/{format=json}", "headers": { "content-type": "application/json", "accept": "application/json" }, "query": { "location": "{!lat},{!lng}", "timestamp": "{!timestamp:number}", "key": "{appKey:string}", "language": "{language:string}" }, "variables": { "lat": { "type": "number", "format": "double", "required": true, "doc": "Latitude" }, "lng": { "type": "number", "format": "double", "required": true, "doc": "Longitude" }, "timestamp": { "type": "number", "required": true, "doc": "Time as seconds since midnight, January 1, 1970 UTC to determine daylight savings" }, "language": { "type": "string", "doc": "Language to return results which can be translated like timeZoneName" } } }, "functions": { "timezone": [ "lat", "lng", "timestamp" ] } } ] }