Skip to content

adithshenoy/vehicle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle API

Build

mvn clean install

Run

If you wish to use Google API, please input api key in application.properties

Functions

Vehicle API provides following functionality:

Localize Vehicle Data

POST /localize-vehicle-data

  • Reads a CSV with a UTC datetime, latitude and longitude columns and appends the timezone the vehicle is in and the localised datetime.
  • Communicates with Google TimeZone API/Timeshape API to fetch timezone data based on latitude and longitude.

Validations

  • Allows a minimum of 2 maximum of 1000 lines in csv to be uploaded
  • Validates entries in CSV

Sample Request:

2013-07-10 02:52:49,-44.490947,171.220966

2013-07-10 02:52:49,-33.912167,151.215820

Sample Response:

2013-07-10 02:52:49,-44.490947,171.220966,Pacific/Auckland,2013-07-10T14:52:49

2013-07-10 02:52:49,-33.912167,151.215820,Australia/Sydney,2013-07-10T12:52:49

About

Vehicle API for localized data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages