2.0.3 • Published 1 year ago

@rockdog/directus-extension-endpoint-google-place v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Directus Google Place Endpoint

This is a custom endpoint for Directus that allows you to retrieve place data from the Google Places API.

Installation:

Ensure your Directus project is configured for Redis.

https://docs.directus.io/self-hosted/config-options.html#redis

Add the following environment variables to your project:

GOOGLE_API_KEY=your-google-api-key
GOOGLE_PLACE_ID=your-google-place-id

REDIS_DGPE_CACHE_KEY=your-redis-dgpe-cache-key
REDIS_DGPE_CACHE_HOURS=your-redis-dgpe-cache-hours

Usage

You can use this endpoint to retrieve place data from the Google Places API.

GET /google-place

Notes

This plugin currently retrieves the following data:

  • id
  • plusCode
  • googleMapsUri
  • internationalPhoneNumber
  • adrFormatAddress
  • regularOpeningHours
  • currentOpeningHours
  • reviews

In the future I would like to add a configuration panel to customize data requests.

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago