Created
March 9, 2013 18:07
-
-
Save stevenharman/5125083 to your computer and use it in GitHub Desktop.
Fetching a brewery from BreweryDB.com with location and social accounts. I'm seeing the location data interleaved with the social accounts. Just me?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GET /brewery/NcvyGD?withAlternateNames=Y&withLocations=Y&withSocialAccounts=Y | |
{ | |
"data":{ | |
"id":"NcvyGD", | |
"name":"Hawai'i Nui Brewing", | |
"description":"At Hawai\u2018i Nui Brewing, we\u2019re passionate about craft beer. We brew small batches of our all-natural ales and lagers from the finest barley malt, wheat, hops and yeast. We are committed to local production in Hawai\u2018i. \r\n\r\nOur uniquely well balanced Island Style beer is perfect for your time in Paradise!\r\n\r\nWhat is Island Style? To those of us who call Hawai\u2019i home, it\u2019s all about balance. Working hard, sure. But when pau hana time comes, it\u2019s about friends and family. Heeding the call of the sun and sand, surf and sea. Tasting freshness. Celebrating music. Stopping at sunset. Resting easy at night. Appreciating life\u2019s detours\u2013what we call holo holo time. Living life as it should be.", | |
"website":"http:\/\/www.hawaiinuibrewing.com\/", | |
"established":"2007", | |
"isOrganic":"N", | |
"images":{ | |
"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-icon.png", | |
"medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-medium.png", | |
"large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-large.png" | |
}, | |
"status":"verified", | |
"statusDisplay":"Verified", | |
"createDate":"2012-01-03 02:41:57", | |
"updateDate":"2013-03-03 14:32:56", | |
"locations":[ | |
{ | |
"id":"a57dkm", | |
"name":"Main Brewery", | |
"streetAddress":"275 E. Kawili St", | |
"locality":"Hilo", | |
"region":"Hawaii", | |
"postalCode":"96720", | |
"phone":"808-934-8211", | |
"website":"http:\/\/www.hawaiinuibrewing.com\/", | |
"latitude":19.7059868, | |
"longitude":-155.0691282, | |
"isPrimary":"Y", | |
"inPlanning":"N", | |
"isClosed":"N", | |
"openToPublic":"Y", | |
"locationType":"micro", | |
"locationTypeDisplay":"Micro Brewery", | |
"countryIsoCode":"US", | |
"status":"verified", | |
"statusDisplay":"Verified", | |
"createDate":"2012-01-03 02:41:57", | |
"updateDate":"2012-03-21 19:08:10", | |
"country":{ | |
"isoCode":"US", | |
"name":"UNITED STATES", | |
"displayName":"United States", | |
"isoThree":"USA", | |
"numberCode":840, | |
"urlTitle":"united-states", | |
"createDate":"2012-01-03 02:41:33" | |
} | |
} | |
], | |
"socialAccounts":[ | |
{ | |
"id":3146, | |
"socialMediaId":1, | |
"socialMedia":{ | |
"id":1, | |
"name":"Facebook Fan Page", | |
"website":"http:\/\/www.facebook.com", | |
"createDate":"2012-01-03 02:41:41", | |
"updateDate":"2012-01-05 18:36:11" | |
}, | |
"handle":"110426049698", | |
"createDate":"2013-03-03 14:31:48" | |
}, | |
{ | |
"id":3147, | |
"socialMediaId":2, | |
"socialMedia":{ | |
"id":2, | |
"name":"Twitter", | |
"website":"http:\/\/www.twitter.com", | |
"createDate":"2012-01-03 02:41:41" | |
}, | |
"handle":"HawaiiNuiBrew", | |
"createDate":"2013-03-03 14:31:54" | |
}, | |
{ | |
"id":3148, | |
"locationId":"a57dkm", | |
"location":{ | |
"id":"a57dkm", | |
"name":"Main Brewery", | |
"streetAddress":"275 E. Kawili St", | |
"locality":"Hilo", | |
"region":"Hawaii", | |
"postalCode":"96720", | |
"phone":"808-934-8211", | |
"website":"http:\/\/www.hawaiinuibrewing.com\/", | |
"latitude":19.7059868, | |
"longitude":-155.0691282, | |
"isPrimary":"Y", | |
"inPlanning":"N", | |
"isClosed":"N", | |
"openToPublic":"Y", | |
"locationType":"micro", | |
"locationTypeDisplay":"Micro Brewery", | |
"countryIsoCode":"US", | |
"status":"verified", | |
"statusDisplay":"Verified", | |
"createDate":"2012-01-03 02:41:57", | |
"updateDate":"2012-03-21 19:08:10", | |
"breweryId":"NcvyGD", | |
"brewery":{ | |
"id":"NcvyGD", | |
"name":"Hawai'i Nui Brewing", | |
"description":"At Hawai\u2018i Nui Brewing, we\u2019re passionate about craft beer. We brew small batches of our all-natural ales and lagers from the finest barley malt, wheat, hops and yeast. We are committed to local production in Hawai\u2018i. \r\n\r\nOur uniquely well balanced Island Style beer is perfect for your time in Paradise!\r\n\r\nWhat is Island Style? To those of us who call Hawai\u2019i home, it\u2019s all about balance. Working hard, sure. But when pau hana time comes, it\u2019s about friends and family. Heeding the call of the sun and sand, surf and sea. Tasting freshness. Celebrating music. Stopping at sunset. Resting easy at night. Appreciating life\u2019s detours\u2013what we call holo holo time. Living life as it should be.", | |
"website":"http:\/\/www.hawaiinuibrewing.com\/", | |
"established":"2007", | |
"isOrganic":"N", | |
"images":{ | |
"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-icon.png", | |
"medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-medium.png", | |
"large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-large.png" | |
}, | |
"status":"verified", | |
"statusDisplay":"Verified", | |
"createDate":"2012-01-03 02:41:57", | |
"updateDate":"2013-03-03 14:32:56" | |
}, | |
"country":{ | |
"isoCode":"US", | |
"name":"UNITED STATES", | |
"displayName":"United States", | |
"isoThree":"USA", | |
"numberCode":840, | |
"urlTitle":"united-states", | |
"createDate":"2012-01-03 02:41:33" | |
} | |
}, | |
"socialMediaId":3, | |
"socialMedia":{ | |
"id":3, | |
"name":"Foursquare", | |
"website":"http:\/\/www.foursquare.com", | |
"createDate":"2012-01-03 02:41:41" | |
}, | |
"handle":"4c995d789818ef3bd8691bfa", | |
"createDate":"2013-03-03 14:32:13" | |
}, | |
{ | |
"id":3149, | |
"socialMediaId":6, | |
"socialMedia":{ | |
"id":6, | |
"name":"BeerAdvocate", | |
"website":"http:\/\/www.beeradvocate.com", | |
"createDate":"2012-01-03 02:41:41" | |
}, | |
"handle":"3225", | |
"createDate":"2013-03-03 14:32:28" | |
}, | |
{ | |
"id":3150, | |
"socialMediaId":4, | |
"socialMedia":{ | |
"id":4, | |
"name":"Untappd", | |
"website":"http:\/\/www.untappd.com", | |
"createDate":"2012-01-03 02:41:41" | |
}, | |
"handle":"846", | |
"createDate":"2013-03-03 14:32:56" | |
} | |
], | |
"alternateNames":[ | |
{ | |
"id":95, | |
"altName":"Mehana Brewing Company", | |
"createDate":"2013-03-03 14:30:07", | |
"breweryId":"NcvyGD", | |
"brewery":{ | |
"id":"NcvyGD", | |
"name":"Hawai'i Nui Brewing", | |
"description":"At Hawai\u2018i Nui Brewing, we\u2019re passionate about craft beer. We brew small batches of our all-natural ales and lagers from the finest barley malt, wheat, hops and yeast. We are committed to local production in Hawai\u2018i. \r\n\r\nOur uniquely well balanced Island Style beer is perfect for your time in Paradise!\r\n\r\nWhat is Island Style? To those of us who call Hawai\u2019i home, it\u2019s all about balance. Working hard, sure. But when pau hana time comes, it\u2019s about friends and family. Heeding the call of the sun and sand, surf and sea. Tasting freshness. Celebrating music. Stopping at sunset. Resting easy at night. Appreciating life\u2019s detours\u2013what we call holo holo time. Living life as it should be.", | |
"website":"http:\/\/www.hawaiinuibrewing.com\/", | |
"established":"2007", | |
"isOrganic":"N", | |
"images":{ | |
"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-icon.png", | |
"medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-medium.png", | |
"large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/NcvyGD\/upload_kYjJOc-large.png" | |
}, | |
"status":"verified", | |
"statusDisplay":"Verified", | |
"createDate":"2012-01-03 02:41:57", | |
"updateDate":"2013-03-03 14:32:56" | |
} | |
} | |
] | |
}, | |
"status":"success" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment