# `NeedleApple.MapsServerAPI`
[🔗](https://github.com/zlibex/needle_apple/blob/v0.1.1/lib/needle_apple/maps_server_api.ex#L1)

Utilities for [Maps Server API](https://developer.apple.com/documentation/applemapsserverapi).

> #### Warning {: .warning}
>
> This service is not available in China, which means:
>
>   * If you are an Apple Developer in China, your account will not be able to apply for or use this service.
>   * If the request's source IP is located in China, the request will be denied.

# `origin`

```elixir
@type origin() :: String.t()
```

Something like `"*.example.com"`.

# `build_auth_token!`

```elixir
@spec build_auth_token!(
  NeedleApple.Types.Developer.team_id(),
  NeedleApple.Types.Developer.key_id(),
  NeedleApple.Types.Developer.private_key(),
  origin() | nil
) :: String.t()
```

Builds a token to authorize HTTP requests.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
