Skip to content

Instantly share code, notes, and snippets.

@andrisasuke
Created November 7, 2017 10:49
Show Gist options
  • Save andrisasuke/8094d28541505a4ec224c11e49263a51 to your computer and use it in GitHub Desktop.
Save andrisasuke/8094d28541505a4ec224c11e49263a51 to your computer and use it in GitHub Desktop.
{
"data": [
{
"id": 8,
"from_country_id": 101,
"from_country": "Indonesia",
"image": {
"original": "https://gibby.id/uploads/countries/101/14955144531007008508.jpg",
"@3x": "https://gibby.id/uploads/countries/101/[email protected]",
"@2x": "https://gibby.id/uploads/countries/101/[email protected]",
"normal": "https://gibby.id/uploads/countries/101/14955144531007008508_normal.jpg",
"small": "https://gibby.id/uploads/countries/101/14955144531007008508_small.jpg"
},
"from_city_id": 32,
"from_city": "Jakarta",
"departure_date": null,
"return_date": "2017-11-27 00:00:00",
"destination": [
{
"id": 8,
"country_id": 106,
"country": "Italy",
"image": {
"original": "https://gibby.id/uploads/countries/106/1496207498392276850.jpg",
"@3x": "https://gibby.id/uploads/countries/106/[email protected]",
"@2x": "https://gibby.id/uploads/countries/106/[email protected]",
"normal": "https://gibby.id/uploads/countries/106/1496207498392276850_normal.jpg",
"small": "https://gibby.id/uploads/countries/106/1496207498392276850_small.jpg"
},
"request_pending": 0,
"request_completed": 0,
"active_requests": [
{
"request_id" : 1,
"item_name" : "nasi goreng",
"item_price" : 23000,
"item_image" : "https://gibby.id/uploads/countries/96/14962072741095399890_small.jpg"
},
{
"request_id" : 2,
"item_name" : "nasi goreng",
"item_price" : 23000,
"item_image" : "https://gibby.id/uploads/countries/96/14962072741095399890_small.jpg"
}
],
"cities": [
{
"id": 3,
"city_id": 0,
"city": null
}
]
}
]
},
{
"id": 6,
"from_country_id": 101,
"from_country": "Indonesia",
"image": {
"original": "https://gibby.id/uploads/countries/101/14955144531007008508.jpg",
"@3x": "https://gibby.id/uploads/countries/101/[email protected]",
"@2x": "https://gibby.id/uploads/countries/101/[email protected]",
"normal": "https://gibby.id/uploads/countries/101/14955144531007008508_normal.jpg",
"small": "https://gibby.id/uploads/countries/101/14955144531007008508_small.jpg"
},
"from_city_id": 32,
"from_city": "Jakarta",
"departure_date": "2017-11-03",
"return_date": "2017-11-20 00:00:00",
"destination": [
{
"id": 6,
"country_id": 96,
"country": "Hong Kong",
"image": {
"original": "https://gibby.id/uploads/countries/96/14962072741095399890.jpg",
"@3x": "https://gibby.id/uploads/countries/96/[email protected]",
"@2x": "https://gibby.id/uploads/countries/96/[email protected]",
"normal": "https://gibby.id/uploads/countries/96/14962072741095399890_normal.jpg",
"small": "https://gibby.id/uploads/countries/96/14962072741095399890_small.jpg"
},
"request_pending": 0,
"request_completed": 2,
"active_requests": [
{
"request_id" : 1,
"item_name" : "nasi goreng",
"item_price" : 23000,
"item_image" : "https://gibby.id/uploads/countries/96/14962072741095399890_small.jpg"
},
{
"request_id" : 2,
"item_name" : "nasi goreng",
"item_price" : 23000,
"item_image" : "https://gibby.id/uploads/countries/96/14962072741095399890_small.jpg"
}
],
"cities": []
}
]
}
],
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 30,
"current_page": 1,
"total_pages": 1,
"links": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment