BENZİNLOG

06
mayıs
2019
BenzinLitre

Benzinlitre’de staj yapmak isteyen yeni takım arkadaşlarımıza ufak bir sorumuz var. Cevaplarınızı info [at] benzinlitre.com üzerinden gönderebilirsiniz.

iOS Coding Challenge
The challenge consists of two parts. Every part should be written in Swift.
1.1: Loading data and displaying it
Write an app containing a list. The list should show all the vehicle data in the bounds of Hamburg (53.694865, 9.757589 & 53.394655, 10.099891).
Use this endpoint https://poi-api.mytaxi.com/PoiService/poi/ to get the vehicles.
A possible call could look like this
https://poi-api.mytaxi.com/PoiService/poi/v1?p2Lat=53.394655&p1Lon=9.757589&p1Lat=53.694865&p2Lon=10.099891
{
“poiList”: [{
“id”: -479925044,
“coordinate”: {
“latitude”: 53.5530854,
“longitude”: 9.955689
},
“state”: “INACTIVE”,
“type”: “TAXI”,
“heading”: 0.0
}, {
“id”: 743402081,
“coordinate”: {
“latitude”: 53.585491577106666,
“longitude”: 9.98225922767678
},
“state”: “ACTIVE”,
“type”: “TAXI”,
“heading”: 233.87039184570312
}, {
“id”: 1241571097,
“coordinate”: {
“latitude”: 53.5494851,
“longitude”: 9.9272429
},
“state”: “INACTIVE”,
“type”: “TAXI”,
“heading”: 0.0
} ]
}
Fill the list items with some useful vehicle-information provided by the JSON response. You can create custom list items with selected vehicle data — simply impress us
Make the app look neat and structure the code appropriately.
1.2: Map
Extend your app, that it is able to show vehicles on a map. Use the bounds of the map to request the vehicles.
Additional
You are encouraged to use libraries if you consider them useful.Please attach your git history
Please name your zip-file with your full name

Android Geliştiriciler için

Android Coding Challenge The challenge consists of two parts. Every part should be written in Java. 1.1: Loading data and displaying it Write an app containing a list. The list should show all the vehicle data in the bounds of Hamburg (53.694865, 9.757589 & 53.394655, 10.099891). 

Use this endpoint https://poi-api.mytaxi.com/PoiService/poi/ to get the vehicles. A possible call could look like this https://poi-api.mytaxi.com/PoiService/poi/v1?p2Lat=53.394655&p1Lon=9.757589&p1Lat=53.694865&p2Lon=10.099891 { "poiList": [{   "id": -479925044,   "coordinate": {    "latitude": 53.5530854,    "longitude": 9.955689   },   "state": "INACTIVE",   "type": "TAXI",   "heading": 0.0 }, {   "id": 743402081,   "coordinate": {    "latitude": 53.585491577106666,    "longitude": 9.98225922767678   },   "state": "ACTIVE",   "type": "TAXI",   "heading": 233.87039184570312 }, {   "id": 1241571097,   "coordinate": {    "latitude": 53.5494851,    "longitude": 9.9272429   },   "state": "INACTIVE",   "type": "TAXI",   "heading": 0.0 } ] }


Fill the list items with some useful vehicle-information provided by the JSON response. You can create custom list items with selected vehicle data - simply impress us Make the app look neat and structure the code appropriately. 1.2: Map Extend your app, that it is able to show vehicles on a map. Use the bounds of the map to request the vehicles. Additional You are encouraged to use libraries if you consider them useful Please attach your git history Please name your zip-file with your full name