Location info

78 views
Skip to first unread message

Paul Deschamps

unread,
Nov 27, 2017, 2:17:07 PM11/27/17
to Brewery DB API
Hi All, 

We're having a peek at your lovely API.. evaluating if we want to pay.. 

results: 
{"currentPage":1,"numberOfPages":1,"totalResults":1,"data":[{"id":"KzHweV","name":"Mill Street Brewery","nameShortDisplay":"Mill Street","description":"At Mill Street Brewery, we brew with the finest ingredients in small batches, yielding lagers and ales of exceptional quality and taste\u2026and that\u2019s no easy feat! Our dedication to our craft and passion for pushing the envelope has earned us some serious accolades since we officially opened in December 2002.","website":"http:\/\/www.millstreetbrewery.com\/","established":"2002","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-large.png","squareMedium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-squareMedium.png","squareLarge":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-squareLarge.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03 02:42:02","updateDate":"2017-06-22 13:59:03","isMassOwned":"Y","brandClassification":"craft"}],"status":"success"}

Correct!!

Now how does one get the location from that record? 

Using the ID returns some other brewery. 

http://api.brewerydb.com/v2/locations/?key=[APP_KEY]&ids=KzHweV

So I imagine that's not how it'd done ;)

??? confused Is there not a way to get the location information from the /Breweries endpoint result set?

Paul. 



Paul Deschamps

unread,
Nov 27, 2017, 2:22:18 PM11/27/17
to Brewery DB API
AHHhhhHHHhh

It's a premium feature ;)

Jason Austin

unread,
Nov 27, 2017, 3:07:11 PM11/27/17
to brewer...@googlegroups.com
You can also do /brewery/:breweryID/locations to get the locations


- Jason

--
You received this message because you are subscribed to the Google Groups "Brewery DB API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brewerydb-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
SteadyServ Jason Austin
Product Owner / Senior Development Engineer / Manager
Office: 317.296.7474 x 720
828.234.2441
steadyserv.com

Burger Bach Increases Draft Efficiency
Powered by Sigstr

dan weigel

unread,
Jan 25, 2019, 10:42:40 PM1/25/19
to Brewery DB API
Hwo do i create a end point thats california and city specific?



On Monday, November 27, 2017 at 12:07:11 PM UTC-8, Jason Austin wrote:
You can also do /brewery/:breweryID/locations to get the locations


- Jason
On Mon, Nov 27, 2017 at 2:22 PM, Paul Deschamps <pdesc...@gmail.com> wrote:
AHHhhhHHHhh

It's a premium feature ;)


On Monday, November 27, 2017 at 2:17:07 PM UTC-5, Paul Deschamps wrote:
Hi All, 

We're having a peek at your lovely API.. evaluating if we want to pay.. 

results: 
{"currentPage":1,"numberOfPages":1,"totalResults":1,"data":[{"id":"KzHweV","name":"Mill Street Brewery","nameShortDisplay":"Mill Street","description":"At Mill Street Brewery, we brew with the finest ingredients in small batches, yielding lagers and ales of exceptional quality and taste\u2026and that\u2019s no easy feat! Our dedication to our craft and passion for pushing the envelope has earned us some serious accolades since we officially opened in December 2002.","website":"http:\/\/www.millstreetbrewery.com\/","established":"2002","isOrganic":"N","images":{"icon":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-icon.png","medium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-medium.png","large":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-large.png","squareMedium":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-squareMedium.png","squareLarge":"https:\/\/s3.amazonaws.com\/brewerydbapi\/brewery\/KzHweV\/upload_0uOmn3-squareLarge.png"},"status":"verified","statusDisplay":"Verified","createDate":"2012-01-03 02:42:02","updateDate":"2017-06-22 13:59:03","isMassOwned":"Y","brandClassification":"craft"}],"status":"success"}

Correct!!

Now how does one get the location from that record? 

Using the ID returns some other brewery. 

http://api.brewerydb.com/v2/locations/?key=[APP_KEY]&ids=KzHweV

So I imagine that's not how it'd done ;)

??? confused Is there not a way to get the location information from the /Breweries endpoint result set?

Paul. 



--
You received this message because you are subscribed to the Google Groups "Brewery DB API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brewerydb-ap...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages