@axway-api-builder-ext/api-builder-plugin-fn-google-maps

Integrate Google-Map-Services into your API-Builder Project.

Usage no npm install needed!

<script type="module">
  import axwayApiBuilderExtApiBuilderPluginFnGoogleMaps from 'https://cdn.skypack.dev/@axway-api-builder-ext/api-builder-plugin-fn-google-maps';
</script>

README

Google Maps Tests

API-Builder Google-Maps Connector

Integrate Google-Maps services into your API-Builder flow using this connector. Google-Maps Services are a number of APIs provided by Google and this connector helps you to integrate with them easily.

Configuration

After installation and restarting your API-Builder project you get the following new flow-nodes:
Node
Before you can make use it in your flow you have to configure your Google API-Key, which must be activated for the correct Google-APIs. Access the Google Console and learn more here.

During installation a new config file has been automatically created which must be completed with your Google-API-Key. You can do that directly from within the API-Builder UI:
Config
We recommend to setup your configuration in a environmentalized way keeping sensitive information away from the source-code repository.

Google-Maps services

This Connector is based on the https://github.com/googlemaps/google-maps-services-js project. It's a good starting point to understand the APIs and their parameters reading the following documentation:

Tests

The connector is shipped with a number of Unit- and Integration tests. To execute the test-suite locally, please setup an environment variable:
GOOGLE_API_KEY=AIzaSyC...........Ws
And run the following command:
npm test
The tests are also automatically executed on every commit to this project.

Compatibility

Tested with Google-Maps Q1/2020
Requires API-Builder Independence or higher

Changelog

See CHANGELOG

Limitations/Caveats

The follow APIs are not yet supported:

  • Place Photos
  • Place Autocomplete
  • Query Autocomplete
  • Roads API
  • Time Zone API

If you require on the of the unsupported APIs don't hestitate to create an issue

Contributing

Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Team

alt text Axway Team