Skip to content

somT-oss/Improved-Transport-for-London-Unified-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Improved Transport for London Unified API

I came across an API from Transport for London Unified API that gives insightfull data for transportation in London.

However, upon using this API, I found out that it did not return the normal json response types, instead it returned other data types like bytes and strings.

I then decided to build off of this API, making it more developer friendly.

Overview

This is an ope source project, aimed at improving the API from Transport for London Unified API, i.e correcting as much incorrect response types. It is open to contributions of any kind.

You can checkout my blog post where I described my thought process on how I handled building some endpoints, and other delicate aspects of this project

Tooling

  • Django rest framework
  • MongoDB Cloud Cluster
  • Django rest framework simplejwt (Token Authentication)
  • Postman
  • Linode Linux server

API Endpoints

Here are some of the endpoints I have worked on

  • Get Yearly Accident Stats http://172.105.148.112/v2/api/accident-stats/{year}
  • Get Yearly Accident Stats with range http://172.105.148.112/v2/api/accident-stats/{year}/range/{star t_range}/{end_range}
  • Get All BikePoints http://172.105.148.112/v2/api/all-bike-points
  • Get One BikePoint http://172.105.148.112/v2/api/get-one-bike-point/{bike_pont_id}

This project was built for the Linode X Hashnode Hackathon

About

This is an open source project for improving the existing Transport for London Unified API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages