Aaanyways, colegul Darius Costolas, vezi ca datele de pe serverul tau nu sunt tocmai actuale:
- lipseste M22
- linia 7 numai e circuit cu 2 sensuri demult
- 13 e troleu, nu autobuz
Postat 10 martie 2017 - 22:07
Postat 11 martie 2017 - 00:18

Aceasta postare a fost editata de Darius Costolas: 11 martie 2017 - 00:32
Postat 11 martie 2017 - 00:26
Postat 11 martie 2017 - 00:33
Postat 11 martie 2017 - 00:37
Postat 11 martie 2017 - 00:58
Postat 11 martie 2017 - 10:59
Citeaza
Postat 11 martie 2017 - 22:12
Postat 12 martie 2017 - 10:49
Postat 12 martie 2017 - 11:10
Postat 12 martie 2017 - 13:29
Postat 12 martie 2017 - 17:43
/api/v1/mijloace - acesta va scoate in exterior mijloacele de transport disponibile in prezent
[
data: [{
name: "Autobuz 40"
icon: "url to icon"
id: "identificator"
type: "3"
},
{
name: "Tramvai 1"
icon: "url to icon"
id: "identificator"
type: "1"
}],
"message": "Data retrieved successfully",
"success": true
]
/api/v1/mijloace/xxxx - acesta va returna in format json traseele cu statiile si cu timpi
[
data: {
"id": xxxx,
"operator_id": xxxx,
"name": "40",
"type": "Bus",
"available": true,
"agency_id": "1",
"routes": [
{
"id": 19,
"name": "Posta Mare - Stuparilor",
"stations" : [
{
"id": 3220,
"name": "Posta Mare",
"latitude": 45.754741,
"longitude": 21.2337
},
{
"id": 3225,
"name": "Popa Sapca",
"latitude": 45.760793,
"longitude": 21.232873
},
]
},
{
"id": 20,
"name": "Stuparilor - Posta Mare"
}
]
},
"message": "Data retrieved successfully",
"success": true
]
/api/v1/informatii-card - facut un request de tip POST cu datele confidentiale ale utilizatorului (aici fiecare utilizator de card ratt va primi un user si o parola sau ceva de genul cu care sa poata sa isi verifice datele)
Aceasta postare a fost editata de Vlad Vesa: 12 martie 2017 - 17:54
Postat 12 martie 2017 - 18:36
Postat 12 martie 2017 - 20:14
Postat 12 martie 2017 - 21:11
Florin.B RATT, la 12 martie 2017 - 18:36, a spus:
Postat 12 martie 2017 - 23:49
Aceasta postare a fost editata de Darius Costolas: 12 martie 2017 - 23:56
Postat 13 martie 2017 - 07:27
Vlad Vesa, la 12 martie 2017 - 17:43, a spus:
/api/v1/mijloace - acesta va scoate in exterior mijloacele de transport disponibile in prezent /api/v1/mijloace/xxxx - acesta va returna in format json traseele cu statiile si cu timpi
Postat 13 martie 2017 - 10:51
TPT-Commuter-API.pdf (113.08K)
Aceasta postare a fost editata de MihaiBalint: 13 martie 2017 - 10:58