Skip to content
This repository has been archived by the owner on Apr 27, 2018. It is now read-only.

TrafficLightRadar school project that utilizes Tampere open data

License

Notifications You must be signed in to change notification settings

Dropa/trafficlightradar_api

Repository files navigation

Trafficlightradar API

This is proof of concept project made for school course.

Project contains configuration and module for handling API calls to Tampere open data API.

What it does?

  • Fetches data from Trafficlightdata Service -API
  • Fetches location of detectors (that are not provided in the API for some reason) from another API
  • Stores fetched data for 24h
  • Provides UI to browse fetched data and filter results by detector
  • Provides REST export for stored data.

Scope

This project had very small scope, only to fecth data from another API and store it for own implementation of front end, where the data will be shown. More about the frontend itself here.

Due to small scope, the code of the fetching module is not done properly. To actually host this project as a production version, the code would need to be refactored. As of the current state, code does work as intented, but only stores gathered data for 24 hours.

I'm huge fan of code standards, but with this project I have chosen to go with the easiest way. If you are new to PHP or Drupal 8, this code is not for you.

About

TrafficLightRadar school project that utilizes Tampere open data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published