/google-maps-services-scala

Scala client library for Google Maps API Web Services

Primary LanguageScalaApache License 2.0Apache-2.0

Scala Client for Google Maps Services

Build Status

Description

A high performance Scala client library for Google Maps Services built with Akka-Http. It is heavily inspired by the official Google Java Client library and it aims at feature parity with it.

The client implements the following Google Maps APIs:

API keys

Each Google Maps Web Service request requires an API key or client ID. API keys are freely available with a Google Account at developers.google.com/console. The type of API key you need is a Server key.

To get an API key:

  1. Visit developers.google.com/console and log in with a Google Account.
  2. Select one of your existing projects, or create a new project.
  3. Enable the API(s) you want to use.
  4. Create a new Server key.
  5. If you'd like to restrict requests to a specific IP address, do so now.

For guided help, follow the instructions for the Directions API. You only need one API key, but remember to enable all the APIs you need. For even more information, see the guide to API keys.

Important: This key should be kept secret on your server.

Installation

TODO

Usage

TODO

Features

  • Rate Limiting
  • Retry on Failure. Automatically retry when intermittent failures occur. That is, when any of the retriable 5xx errors are returned from the API.