Skip to content

j03-dev/bus_antsirabe_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bus Antsirabe api

List all bus stop

url https://bus-antsirabe.onrender.com/api/travel

  • end-point: /api/travel
  • method: get
  • response:
{
  "1": "4chemin ambalavato",
  "10": "ampahatra",
  "11": "ampihaviana",
  "12": "andrangy",
  "13": "andranomadio",
  "14": "andranomafana",
  "15": "andranonahoatra",
  "16": "antanimena",
  "17": "antanivao"
  //
}

List of buses to take

  • end-point: /api/travel
  • method: post
  • body:
{
  "a": 8,
  "b": 77
}
  • response
[
  "BUS 4",
  "BUS 10",
  "BUS 12",
  "BUS 16",
  "BUS 17",
  "BUS 19"
]

Releases

No releases published

Packages

No packages published

Languages