You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python Client for Google Maps Services is a Python Client library for the following Google Maps
18
-
APIs:
12
+
# Python Client for Google Maps Services
19
13
20
-
- Directions API
21
-
- Distance Matrix API
22
-
- Elevation API
23
-
- Geocoding API
24
-
- Geolocation API
25
-
- Time Zone API
26
-
- Roads API
27
-
- Places API
28
-
- Maps Static API
29
-
- Address Validation API
30
-
31
-
Keep in mind that the same [terms and conditions](https://developers.google.com/maps/terms) apply
32
-
to usage of the APIs when they're accessed through this library.
33
-
34
-
## Support
14
+
## Description
35
15
36
-
This library is community supported. We're comfortable enough with the stability and features of
37
-
the library that we want you to build real production applications on it. We will try to support,
38
-
through Stack Overflow, the public and protected surface of the library and maintain backwards
39
-
compatibility in the future; however, while the library is in version 0.x, we reserve the right
40
-
to make backwards-incompatible changes. If we do remove some functionality (typically because
41
-
better functionality exists or if the feature proved infeasible), our intention is to deprecate
42
-
and give developers a year to update their code.
16
+
Use Python? Want to [geocode][Geocoding API] something? Looking for [directions][Directions API]? This client library brings the following [Google Maps Web Services APIs] to your server-side Python applications:
43
17
44
-
If you find a bug, or have a feature suggestion, please log an issue. If you'd like to
45
-
contribute, please read contribute.
18
+
-[Maps Static API]
19
+
-[Directions API]
20
+
-[Distance Matrix API]
21
+
-[Elevation API]
22
+
-[Geocoding API]
23
+
-[Places API]
24
+
-[Roads API]
25
+
-[Time Zone API]
26
+
TODO ? Geolocation API
27
+
TODO ? Address Validation API
46
28
47
29
## Requirements
48
30
49
-
- Python 3.5 or later.
50
-
- A Google Maps API key.
31
+
*[Sign up with Google Maps Platform]
32
+
* A Google Maps Platform [project] with the desired API(s) from the above list enabled
33
+
* An [API key] associated with the project above
34
+
* Python 3.5+
51
35
52
-
## API Keys
36
+
## API Key Security
53
37
54
-
Each Google Maps Web Service request requires an API key or client ID. API keys
55
-
are generated in the 'Credentials' page of the 'APIs & Services' tab of [Google Cloud console](https://console.cloud.google.com/apis/credentials).
38
+
This client library is designed for use in server-side applications.
56
39
57
-
For even more information on getting started with Google Maps Platform and generating/restricting an API key, see [Get Started with Google Maps Platform](https://developers.google.com/maps/gmp-get-started) in our docs.
40
+
In either case, it is important to add [API key restrictions](https://developers.google.com/maps/api-security-best-practices#restricting-api-keys) to improve its security. Additional security measures, such as hiding your key
41
+
from version control, should also be put in place to further improve the security of your API key.
58
42
59
-
**Important:** This key should be kept secret on your server.
43
+
Check out the [API Security Best Practices](https://developers.google.com/maps/api-security-best-practices) guide to learn more.
60
44
61
45
## Installation
62
46
@@ -72,7 +56,7 @@ This example uses the Geocoding API and the Directions API with an API key:
72
56
import googlemaps
73
57
from datetime import datetime
74
58
75
-
gmaps = googlemaps.Client(key='Add Your Key here')
For more information, see the reference [documentation].
111
+
112
+
## Contributing
127
113
128
-
[Documentation for the `google-maps-services-python` library](https://googlemaps.github.io/google-maps-services-python/docs/index.html)
114
+
Contributions are welcome and encouraged! If you'd like to contribute, send us a [pull request] and refer to our [code of conduct] and [contributing guide].
115
+
116
+
## Terms of Service
117
+
118
+
This library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform [Terms of Service].
119
+
120
+
This library is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this library.
121
+
122
+
## Support
123
+
124
+
This library is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines, the SLA, or the [Deprecation Policy]. However, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service.
125
+
126
+
This library adheres to [semantic versioning] to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time.
127
+
128
+
If you find a bug, or have a feature request, please [file an issue] on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels]. If you'd like to contribute, please check the [contributing guide].
129
+
130
+
You can also discuss this library on our [Discord server].
129
131
130
-
### Getting started
131
132
-[Get Started with Google Maps Platform](https://developers.google.com/maps/gmp-get-started)
132
-
-[Generating/restricting an API key](https://developers.google.com/maps/gmp-get-started#api-key)
133
-
-[Authenticating with a client ID](https://developers.google.com/maps/documentation/directions/get-api-key#client-id)
134
-
135
-
### API docs
136
-
-[Google Maps Platform web services](https://developers.google.com/maps/apis-by-platform#web_service_apis)
0 commit comments