punyakakset / OSG3-Kelompok-7

0 stars 0 forks source link

[US2] Sebagai user, saya ingin menghubungi rumah sakit terdekat dilokasi kejadian #2

Open punyakakset opened 5 years ago

hyuwah commented 5 years ago

Teh @punyakakset , Rumah Sakit terdekat itu berdasarkan alamat incident berarti ya? di data incident itu data lokasi cuman ada data (string) alamat aja soalnya...

{
"id": 98140,
"title": "Deteriorated bike lane stripping",
"description": "A second bike lane stripe was added approximately six weeks ago and has worn off completely on the south side of Candelaria from the Nature Center east.  Please take a look and determine whether it should be reapplied.",
"address": "2830 Candelaria Rd Nw Albuquerque, NM, 87107, USA",
"occurred_at": 1553651808,
"updated_at": 1553657455,
"url": "https://bikewise.org/api/v1/incidents/98140",
"source": {
"name": "SeeClickFix.com",
"html_url": "https://seeclickfix.com/issues/5597043",
"api_url": "https://seeclickfix.com/api/v2/issues/5597043"
},
"media": {
"image_url": null,
"image_url_thumb": null
},
"location_type": null,
"location_description": null,
"type": "Unconfirmed",
"type_properties": null
}

Kalo iya, berarti kemungkinan kita butuh Place API buat ambil data hopitalnya kah?

punyakakset commented 5 years ago

yaudah gapapa kaya gitu aja kak