Skip to content

Java code used to fetch traffic data from the Digitraffic API

Notifications You must be signed in to change notification settings

llohi/api-digitraffic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

api-digitraffic

Java code used to fetch traffic data from Digitraffic API.
The data is stored in JSON and the API response is GZIP compressed.
The Gson library is used to convert the JSON response to an equivalent Java object.
The methods for data fetching can be found in the file ServerRequest.java.
The methods for URL generation can be found in the file DigiURL.java
Code testing is done in the file Main.java and the rest of the classes are merely representations of the data being fetched.

More info on the API:
https://www.digitraffic.fi/

More info on Gson:
https://sites.google.com/site/gson/

About

Java code used to fetch traffic data from the Digitraffic API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages