1
0
Fork 0
mirror of https://github.com/imjasonh/staticmaps synced 2026-07-08 19:05:09 +00:00
Commit graph

16 commits

Author SHA1 Message Date
e864f2a8af Add SnapToRoads which requires API key
This uncovered a bug in maps.go where requests would not pass their API
key!
2015-03-05 13:25:12 -05:00
64ec22f709 remove Client struct, use context values for API key, Work client ID and private key, and http Client 2014-10-21 15:10:41 -04:00
9166c9bae7 Thread through context.Context, currently unused 2014-10-21 14:15:57 -04:00
b4ad65e7f2 slight style tweaks, use New and NewForWork, take a RoundTripper 2014-10-21 11:34:21 -04:00
1704d37fbe Correctly generate the signature based on a private key 2014-10-13 16:33:57 -04:00
e2af009927 Add doc comments to maps.go 2014-10-13 14:46:30 -04:00
e9e7597dd0 Add doc comments for Directions API methods 2014-10-13 12:05:26 -04:00
8cd7c7a64b Merge branch 'master' of gist.github.com:/cbfa5a05023549bcf565 2014-10-09 16:08:31 -04:00
aa3b05a35f return responses that don't include Status and ErrorMessage, instead return an APIError if the API response is not 'OK' 2014-10-09 16:08:02 -04:00
f9c0e3df19 Add backoff http.RoundTripper that that handles exponential backoff 2014-10-09 13:24:52 -04:00
2caece1694 Add DistanceMatrix API 2014-10-07 12:46:01 -04:00
3486e9bff9 Support clientId+signature requests for Work clients 2014-10-07 11:14:18 -04:00
d2aa07c3bd Add Elevation API 2014-10-07 11:00:16 -04:00
fbc80b3a45 support StreetView Images API 2014-10-07 10:10:14 -04:00
449c03fc61 Add StaticMap method to generate static map image 2014-10-06 17:18:53 -04:00
e0af619690 initial commit 2014-10-06 14:18:03 -04:00