Skip to content
This repository was archived by the owner on Oct 22, 2022. It is now read-only.

Fast0n/mediterraneabus-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated!

As of Oct 21th 2022, Mediterraneabus API is fully deprecated. No new changes are expected to land.

Mediterraneabus API

Donate GitHub package.json version License Build Status

Methods

search

Search for bus schedules and timetables for the Mediterraneabus S.p.A bus.

Parameters:

  • periodo [required] - choice of period between 'invernale' and 'estiva'
  • percorso_linea [required] - route bus line in the list data
  • percorso_linea1 [required] - route bus line in the list data
  • sort_by [optional] - choice of sort between 'time' and 'line'

Example Usage:

mediterraneabus-api.herokuapp.com/?periodo=invernale&
                                  percorso_linea=Ardore - stazione FS&
                                  percorso_linea1=Siderno - piazza Portosalvo
                                  &sort_by=time

Returns The standard JSON array

  • title lines
  • bus stop
  • timetables

Methods

lista

Get list routes for the Mediterraneabus S.p.A bus.

Parameters:

  • lista [optional] - empty

Example Usage:

mediterraneabus-api.herokuapp.com/?lista

Returns The standard JSON array

  • routes lines

Result

JSON result

About

API for the site mediterraneabus.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published