File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ with OpenCageGeocode(key) as geocoder:
7979 results = [geocoder.geocode(query) for query in queries]
8080```
8181
82- ### Asycronous requests
82+ ### Asyncronous requests
8383
8484You can run requests in parallel with the ` geocode_async ` and ` reverse_geocode_async `
8585method which have the same parameters and response as their synronous counterparts.
@@ -90,15 +90,18 @@ async with OpenCageGeocode(key) as geocoder:
9090 results = await geocoder.geocode_async(address)
9191```
9292
93- For a more complete example and links to futher tutorials on asycronous IO see
93+ For a more complete example and links to futher tutorials on asyncronous IO see
9494` batch.py ` in the ` examples ` directory.
9595
9696### Exceptions
9797
9898If anything goes wrong, then an exception will be raised:
99- * `` InvalidInputError `` for non-unicode query strings
100- * `` UnknownError `` if there's some problem with the API (bad results, 500 status code, etc)
101- * `` RateLimitExceededError `` if you go past your rate limit
99+
100+ * ` InvalidInputError ` for non-unicode query strings
101+ * ` NotAuthorizedError ` if API key is missing, invalid syntax or disabled
102+ * ` ForbiddenError ` API key is blocked or suspended
103+ * ` RateLimitExceededError ` if you go past your rate limit
104+ * ` UnknownError ` if there's some problem with the API (bad results, 500 status code, etc)
102105
103106
104107## Copyright & License
You can’t perform that action at this time.
0 commit comments