Skip to content

smartcommunitylab/dslab.playandgo.test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dslab.playandgo.test

Track Verification Test

with Here API


Table of contents

  1. About the Project
  2. Environment Variables
  3. Here API

About The Project

This project integrates with the HERE API to retrieve a specific route information based on the origin, destination and transport mode chosen by the user. It processes this data into a predefined template with Thymeleaf and enables verification of the route within the PlayAndGo platform.

(back to top)


Environment Variables

Warning

Environment Variables are mandatory.

  • API_ENDPOINT
    • The apiEndpoint variable represents the base URL for the API of the PlayAndGoEngine.
    • Example: https://.../playandgo/api (localhost or direct playandgo api endpoint)
  • DEPARTURE_TIME:
    • Departure Date and Time assigned to the Route created by the Here API.
      Attention! Be sure to use the right format: "yyyy-MM-dd'T'HH:mm:ss"
    • Example: 2024-11-11T00:00:00
  • HERE_API_KEY:

    • This is the Specific Key to access the HERE API.
      To create it you need to have an account on HERE Api and generate it.
    • In the HERE Api Section you will have access to all the documentation to set and start using Here API.
  • HERE_ROUTE_API_URL:

  • HERE_TRANSIT_API_URL:

Warning

This variable is mandatory ONLY if you wanna send the track directly to PlayAndGoEngine. (playAndGoEngine.sendTrack(track); in the code)
If you wanna just create a json file, this token IS NOT USED.

  • TOKEN:
    • Authentication Token of AAC to access the Backend of PlayAndGo.

(back to top)


Here API

HERE API is a suite of location-based services provided by HERE Technologies, a leading company in mapping and geospatial data. It offers features such as mapping, routing, traffic, and transit information, enabling applications to deliver real-time navigation, route optimization, and location intelligence.

Get Started:

  1. Get an API Key
  2. Manage a Project
  3. Add a Service to a Project

Note

If you want to use your own HERE Api for this App, you MUST add the following Services to your Project:

  1. HERE Routing v8
  2. HERE Routing - Transit v8

Other Guides:

Here API Reference:

Note

The API references below are provided just to have a better understanding of how HERE API works.
You will not need to know it perfectly to use this application since the test will automatically change the APIs parameters based on the initial request.

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages