Transport Finder
Transport Finder · Acciones GPT
Roote AI API
API for accessing real-time transportation and service information.
GET /static/nearbystop/{coords}/BusRetrieves all bus stop point nearbe a location.GET /static/nearbystop/{coords}/TramwayRetrieves all tramway stations near a location.GET /static/nearbystop/{coords}/TrainRetrieves all train stations near a location.GET /static/nearbystop/{coords}/RapidTransitRetrieves all RER stations near a location.GET /static/nearbystop/{coords}/MetroRetrieves all metro stations near a location.GET /static/nearbystop/{coords}/FerryRetrieves all ferry stations near a location.GET /static/nearbystop/{coords}/FunicularRetrieves all funicular stations near a location.GET /static/nearbystop/{coords}/ShuttleRetrieves all shuttle stations near a location.
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "Roote AI API",
"description": "API for accessing real-time transportation and service information.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.roote.ai",
"description": "Roote AI Realtime API server"
}
],
"paths": {
"/static/nearbystop/{coords}/Bus": {
"get": {
"operationId": "getNearbyBus",
"summary": "Retrieves all bus stop point nearbe a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful retrieval of bus stop"
},
"400": {
"description": "Bad request, such as invalid coordinates"
},
"401": {
"description": "Unauthorized, invalid token"
},
"500": {
"description": "Server error"
}
}
}
},
"/static/nearbystop/{coords}/Tramway": {
"get": {
"operationId": "getNearbyTramway",
"summary": "Retrieves all tramway stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful retrieval of stations",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stationId": {
"type": "string"
},
"stationName": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"latitude": {
"type": "number",
"format": "double"
},
"longitude": {
"type": "number",
"format": "double"
}
}
}
}
}
}
}
}
},
"400": {
"description": "Bad request, such as invalid coordinates"
},
"401": {
"description": "Unauthorized, invalid token"
},
"500": {
"description": "Server error"
}
}
}
},
"/static/nearbystop/{coords}/Train": {
"get": {
"operationId": "getNearbyTrain",
"summary": "Retrieves all train stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
},
"/static/nearbystop/{coords}/RapidTransit": {
"get": {
"operationId": "getNearbyRER",
"summary": "Retrieves all RER stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
},
"/static/nearbystop/{coords}/Metro": {
"get": {
"operationId": "getNearbyMetro",
"summary": "Retrieves all metro stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
},
"/static/nearbystop/{coords}/Ferry": {
"get": {
"operationId": "getNearbyFerry",
"summary": "Retrieves all ferry stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
},
"/static/nearbystop/{coords}/Funicular": {
"get": {
"operationId": "getNearbyFunicular",
"summary": "Retrieves all funicular stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
},
"/static/nearbystop/{coords}/Shuttle": {
"get": {
"operationId": "getNearbyShuttle",
"summary": "Retrieves all shuttle stations near a location.",
"parameters": [
{
"name": "coords",
"in": "path",
"required": true,
"description": "The coordinates of the user's location.",
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"required": true,
"description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
"schema": {
"type": "string"
}
}
]
}
}
}
}