Closed Soteark closed 4 years ago
just want to add to this, it seems specifically with this certain ID. (1883). Guessing there are others. The Price it shows is from 2012 even though the website shows more up to date pricing.
@Soteark try this:
http://www.oregonliquorprices.com/api/v1/price/?format=json&product=1883
The URL you were using before was loading the price entry with id "1883", not the product.
For example, here's how to load products by product code (instead of database id):
http://www.oregonliquorprices.com/api/v1/product/?format=json&code=7406B
Wonderful! Thank you so much, and thank you for having built this API
@Soteark you're welcome! Best of luck with your project.
I could be misunderstanding how to look up a price via the API, but when I use http://www.oregonliquorprices.com/api/v1/price/ID/?format=json i.e. http://www.oregonliquorprices.com/api/v1/price/1883/?format=json
I get an old price compared to what is being displayed on the website.