Skip to content

Instantly share code, notes, and snippets.

@macnibblet
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macnibblet/9268323 to your computer and use it in GitHub Desktop.
Save macnibblet/9268323 to your computer and use it in GitHub Desktop.
{
"_embedded": {
"items": [
{
"_id": "248",
"_index": "dealfinder",
"_score": 0.07190587,
"_source": {
"category": 85,
"company": 21,
"createdAt": "2014-02-27T18:25:50+0100",
"currency": "USD",
"description": "Sit repellat repellendus consectetur in voluptates illo. Laborum aut cupiditate eius et.",
"discountType": "percent",
"discountValue": 45,
"id": 248,
"images": [
"http://lorempixel.com/150/150/",
"http://lorempixel.com/150/150/"
],
"inStock": true,
"keywords": [
"vel",
"sed",
"reiciendis",
"architecto",
"consequatur",
"porro",
"ut",
"consequuntur"
],
"locations": [
{
"city": "Hillltown",
"coordinates": {
"lat": 51.122548,
"lon": 123.123989
},
"country": null,
"createdAt": "2014-02-27T18:25:40+0100",
"id": 66,
"street": "Considine Causeway",
"streetNumber": "Apt. 497",
"updatedAt": "2014-02-27T18:25:40+0100",
"zipcode": 47723
},
{
"city": "South Marjolainefurt",
"coordinates": {
"lat": 89.361261,
"lon": -176.959921
},
"country": null,
"createdAt": "2014-02-27T18:25:40+0100",
"id": 71,
"street": "Boyle Run",
"streetNumber": "Suite 720",
"updatedAt": "2014-02-27T18:25:40+0100",
"zipcode": 54007
},
{
"city": "North Melissa",
"coordinates": {
"lat": 77.909419,
"lon": 104.165396
},
"country": null,
"createdAt": "2014-02-27T18:25:40+0100",
"id": 91,
"street": "Ruecker Stravenue",
"streetNumber": "Apt. 145",
"updatedAt": "2014-02-27T18:25:40+0100",
"zipcode": 44923
}
],
"name": "Non fugiat.",
"price": 686,
"status": "active",
"updatedAt": "2014-02-27T18:25:50+0100"
},
"_type": "deals"
}
]
},
"_links": {
"first": {
"href": "http://api.dealfinder/deals"
},
"last": {
"href": "http://api.dealfinder/deals?page=1"
},
"self": {
"href": "http://api.dealfinder/deals?page=1"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment