# Secrets

The Secrets object is an object that stores the access tokens used to retrieve data and is set to the Map constructor option secrets.

Type Object (opens new window)

# Properties

# challenge (string (opens new window))

Access token for the Open Data Challenge for Public Transportation (opens new window) API hosted at api-challenge.odpt.org. It is appended as a consumer key to data source URLs on that host. If not specified, the default token will be used.

# odpt (string (opens new window))

Access token for the Public Transportation Open Data Center (opens new window) API hosted at api.odpt.org. It is appended as a consumer key to data source URLs on that host. If not specified, the default token will be used.

Last Updated: 7/8/2026, 1:47:11 AM