This example shows how to use the library within a vanilla javascript application.
This example shows how to use the library with NodeJS using a environnement variable for the API key
This example shows how to use the library with NodeJS using a proxy URL to hide your API key.
- AWS Lambda proxy example: https://github.com/tsamaya/opencage-lambda-proxy
- Google Cloud Function example: https://github.com/tsamaya/gcloud-functions-opencage-geocoder
Following a github issue (question) here are some more examples of reverse geocoding operations.
This example shos how to use the library with TypeScript
The complete example can be found here : https://github.com/tsamaya/opencage-api-client-typescript-test