Skip to content

Instantly share code, notes, and snippets.

@kennyhorna
Created May 6, 2018 23:00
Show Gist options
  • Save kennyhorna/e7b182a81dd3c89666b82800b2526717 to your computer and use it in GitHub Desktop.
Save kennyhorna/e7b182a81dd3c89666b82800b2526717 to your computer and use it in GitHub Desktop.
{
"data": {
"venue_id": 1,
"business_id": 1,
"name": "Soccer Palace 25",
"address": "496 Vandervort Port Apt. 787",
"latitude": "-12.0375380",
"longitude": "-77.0197650",
"fields": [
{
"field_id": 1,
"venue_id": 1,
"name": "Cancha 5",
"type": "Losa deportiva",
"size": "Fútbol 10",
"prices": {
"1": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 1
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 1
}
],
"2": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 2
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 2
}
],
"3": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 3
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 3
}
],
"4": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 4
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 4
}
],
"5": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 5
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 5
}
],
"6": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 6
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 6
}
],
"7": [
{
"field_price_id": 229,
"field_id": 1,
"hour_start": "08:00:00",
"hour_end": "17:59:59",
"price": "90.00",
"day": 7
},
{
"field_price_id": 230,
"field_id": 1,
"hour_start": "18:00:00",
"hour_end": "23:59:59",
"price": "130.00",
"day": 7
}
]
}
},
{
"field_id": 2,
"venue_id": 1,
"name": "Cancha 7",
"type": "Losa deportiva",
"size": "Fútbol 10",
"prices": {
"1": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 1
}
],
"2": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 2
}
],
"3": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 3
}
],
"4": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 4
}
],
"5": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 5
}
],
"6": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 6
}
],
"7": [
{
"field_price_id": 2,
"field_id": 2,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "80.00",
"day": 7
}
]
}
},
{
"field_id": 3,
"venue_id": 1,
"name": "Cancha 3",
"type": "Grass artificial",
"size": "Fútbol 10",
"prices": {
"1": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 1
}
],
"2": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 2
}
],
"3": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 3
}
],
"4": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 4
}
],
"5": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 5
}
],
"6": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 6
}
],
"7": [
{
"field_price_id": 3,
"field_id": 3,
"hour_start": "08:00:00",
"hour_end": "23:59:59",
"price": "145.00",
"day": 7
}
]
}
}
],
"district": "Carmen de la Legua",
"facilities": [
{
"facility_id": 1,
"name": "Estacionamiento"
},
{
"facility_id": 2,
"name": "Camerinos"
},
{
"facility_id": 3,
"name": "Duchas"
},
{
"facility_id": 6,
"name": "Chalecos"
}
],
"phones": [
{
"number": "010403851",
"is_verified": true
},
{
"number": "914936948",
"is_verified": true
}
],
"is_client": true,
"num_fields": 3
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment