File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,25 @@ except InvalidRequestError as e:
131
131
print(f" Invalid request: {e}" )
132
132
` ` `
133
133
134
+ Geocodio Enterprise
135
+ -------------------
136
+
137
+ To use this library with Geocodio Enterprise, pass ` api.enterprise.geocod.io` as the ` hostname` parameter when initializing the client:
138
+
139
+ ` ` ` python
140
+ from geocodio import GeocodioClient
141
+
142
+ # Initialize client for Geocodio Enterprise
143
+ client = GeocodioClient(
144
+ " YOUR_API_KEY" ,
145
+ hostname=" api.enterprise.geocod.io"
146
+ )
147
+
148
+ # All methods work the same as with the standard API
149
+ response = client.geocode(" 1600 Pennsylvania Ave, Washington, DC" )
150
+ print(response.results[0].formatted_address)
151
+ ` ` `
152
+
134
153
Documentation
135
154
-------------
136
155
You can’t perform that action at this time.
0 commit comments