Skip to content

gdaPythonProjects/tricityTrafficAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tricityTrafficAPI Build Status

Data agregator and API back-end related with traffics in tricity.

Subpages

/cron - accessing this site will trigger fetcher to fetch all data from sources

/api - a entry point for API requests

/ - root of the host will display Usage API documentation

Usage

All API request should go to [host]/api/

for example: localhost/api/?last=5

API is executing addictional parameters in order from URL

Parametr Description
last=<int> Fetch last n results
e.g. last=5
reverse Reverse order of data
source=<string> Fetch data from specified source
e.g. source=trojmiasto.pl
since=<YYYY-MM-DD> Fetch data added since specified date
e.g. since=2019-01-01
date=<YYYY-MM-DD> Fetch data from specified date
e.g. date=2019-01-01
daterange=<YYYY-MM-DD>:<YYYY-MM-DD> Fetch data from specified range of dates
e.g. daterange=2019-01-01:2019-02-02
intitle=<string> Fetch data with specified string in title
e.g. intitle=example title
incontent=<string> Fetch data with specified string in content
e.g. incontent=example content
contains=<string> Fetch data with specified string in content or title
e.g. contains=example content or title

Live

Website is live and accessible on https://tricity-traffic-api.herokuapp.com

About

Data agregator and API back-end related with traffics in tricity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5