Public Transit API Developer's Guide

Logo Brands

User Story

The user wants to obtain brand logos for transit operators.

Request

The lang parameter is specified in ISO 639-1 format, en for English. The size parameter specifies the size of the logo. Currently, only small is supported.

https://transit.ls.hereapi.com/v3/branding/logos.json
?apikey={YOUR_APIKEY}
&size=small
&lang=en
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see the HERE Authentication instructions. For examples of how to use the other authentication options with the Public Transit API, see Authentication Examples.

Response

The response to the request contains the following information blocks:
  • a list of logos
  • each logo element includes the following information:
    • URL to the image
    • name of the agency
{
  "Res": {
    "serviceUrl": "https://transit.api.here.com/transit/v3/branding/logos.json",
    "Logos": {
      "Link": [
        {
          "type": "logo",
          "href": "https://transit.api.here.com/images/logos/vbb_logo_wp.png",
          "text": "VBB"
        },
        {
          "type": "logo",
          "href": "https://transit.api.here.com/images/logos/RP_logo_RGB_transparant_206X70.png",
          "text": "Rejseplanen"
        },
        {
          "type": "logo",
          "href": "https://transit.api.here.com/images/logos/STIF_206x100.png",
          "text": "STIF"
        },
        {
          "type": "logo",
          "href": "https://transit.api.here.com/images/logos/NTA_logo.png",
          "text": "NTA"
        },
        {
          "type": "logo",
          "href": "https://transit.api.here.com/images/logos/3LT_Logo.png",
          "text": "NVBW"
        }
      ]
    }
  }
}