Kodi Community Forum
TheCocktailDB.com - An Open Cocktail Database with API - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Meta-Data provider and Artwork Packs (https://forum.kodi.tv/forumdisplay.php?fid=71)
+--- Thread: TheCocktailDB.com - An Open Cocktail Database with API (/showthread.php?tid=235298)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: TheCocktailDB.com - An Open Cocktail Database with API - sbeex - 2016-07-13

Hello Zag
I am writing a cocktail appletv application and would like to thank you for this api. (The app will of course be free). I can't send you private message but I would need a private api key maybe that way you could have some stats about my app usage and so on ? Or should I use the basic one ?

I also have some questions about your api. Do you improve it ? Can we get involved into it ? Is it open source ?

I would like to translate it into multiple languages and maybe add some other pictures and so on if you accept my help Wink


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-07-14

(2016-07-13, 17:51)sbeex Wrote: Hello Zag
I am writing a cocktail appletv application and would like to thank you for this api. (The app will of course be free). I can't send you private message but I would need a private api key maybe that way you could have some stats about my app usage and so on ? Or should I use the basic one ?

I also have some questions about your api. Do you improve it ? Can we get involved into it ? Is it open source ?

I would like to translate it into multiple languages and maybe add some other pictures and so on if you accept my help Wink

Sure see PM for your api key.

The API is pretty fixed and we haven't had much demand for languages so far, but i'm always open to improving it if you have suggestions.

We always love people making the cocktails and uploading photos too Smile


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-07-14

I've also uploaded another 100+ transparent hi-resolution ingredient images!

Image Image Image Image Image

This should make the kodi add-on look much better now Wink


RE: TheCocktailDB.com - An Open Cocktail Database with API - kpele - 2016-07-21

Hello Zag, I am looking for cool datasets for some data/network science projects and I would like to access the list of cocktails per id. I was thus wondering whether the test API key ("1") would work for me to access all the recipes or I will need a different key.


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-07-21

Yes thats what the test key is for.


RE: TheCocktailDB.com - An Open Cocktail Database with API - dberov - 2016-07-27

Yo Zag Smile. Can you PM me some contacts of you: like skype or somethink. Would like to exchange information about your API (suggestions, repot bugs and etc. when i find some).


RE: TheCocktailDB.com - An Open Cocktail Database with API - CWolfAnderson - 2016-07-27

Huh
I love the idea of this API and want to work with making a cool web app with it. However, I'm running into a small issue.
I saw a post about this a while ago but I'm having issues pulling data. I'm making a simple ajax request using jQuery and encountering a
`No 'Access-Control-Allow-Origin' header is present on the requested resource.` error. Has anyone else gotten around this?

Here's a link to the sample code.
http://jsbin.com/jasoqem/1/edit?js,console


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-07-27

(2016-07-27, 20:17)CWolfAnderson Wrote: Huh
I love the idea of this API and want to work with making a cool web app with it. However, I'm running into a small issue.
I saw a post about this a while ago but I'm having issues pulling data. I'm making a simple ajax request using jQuery and encountering a
`No 'Access-Control-Allow-Origin' header is present on the requested resource.` error. Has anyone else gotten around this?

Here's a link to the sample code.
http://jsbin.com/jasoqem/1/edit?js,console

Looks like a java problem to me!

A quick google shows this up

http://stackoverflow.com/questions/20035101/no-access-control-allow-origin-header-is-present-on-the-requested-resource


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-07-27

(2016-07-27, 15:33)dberov Wrote: Yo Zag Smile. Can you PM me some contacts of you: like skype or somethink. Would like to exchange information about your API (suggestions, repot bugs and etc. when i find some).

You can email me any time at zag at kodi.tv


RE: TheCocktailDB.com - An Open Cocktail Database with API - fademar - 2016-07-27

Hello,
I have the same issue than CWolfAnderson. My AJAX requests only work if I use the Chrome Plugin "Allow Cross Origin". The JSONP hack doesn't work at all. Does the API server allow CORS ?


RE: TheCocktailDB.com - An Open Cocktail Database with API - CWolfAnderson - 2016-07-27

(2016-07-27, 20:34)zag Wrote:
(2016-07-27, 20:17)CWolfAnderson Wrote: Huh
I love the idea of this API and want to work with making a cool web app with it. However, I'm running into a small issue.
I saw a post about this a while ago but I'm having issues pulling data. I'm making a simple ajax request using jQuery and encountering a
`No 'Access-Control-Allow-Origin' header is present on the requested resource.` error. Has anyone else gotten around this?

Here's a link to the sample code.
http://jsbin.com/jasoqem/1/edit?js,console

Looks like a java problem to me!

A quick google shows this up

http://stackoverflow.com/questions/20035101/no-access-control-allow-origin-header-is-present-on-the-requested-resource

I saw that post but never read to the 5th answer (which worked for meSmile). Thanks a bunch!
http://cors.io/?u=http://HTTP_YOUR_LINK_HERE


RE: TheCocktailDB.com - An Open Cocktail Database with API - fademar - 2016-07-27

(2016-07-27, 21:12)CWolfAnderson Wrote: I saw that post but never read to the 5th answer (which worked for meSmile). Thanks a bunch!
http://cors.io/?u=http://HTTP_YOUR_LINK_HERE

Actually, I don't want to send the request to a third party. Is there another way to deal with this ?


RE: TheCocktailDB.com - An Open Cocktail Database with API - dberov - 2016-08-11

Hey Zag, is there a way to get Ingredients image through the API? The json returned by "lookup" by "id" method in the api return only the name of the ingredient Sad. Would be cool feature to add url's to the image for ingredient Smile!


RE: TheCocktailDB.com - An Open Cocktail Database with API - zag - 2016-08-11

The ingredient URL is exactly the same as the name of the ingredient

Code:
http://www.thecocktaildb.com/images/ingredients/Orange%20juice.png
http://www.thecocktaildb.com/images/ingredients/Orange%20juice-small.png
http://www.thecocktaildb.com/images/ingredients/Banana-Small.png
http://www.thecocktaildb.com/images/ingredients/Banana.png

I'll add a medium size soon as well Wink


RE: TheCocktailDB.com - An Open Cocktail Database with API - carynligon - 2016-08-11

Hi! I am currently in a coding bootcamp and am making a mixology app that makes psychological cocktail suggestions based on a personality assessment. The project is just for academic purposes but I wanted to know if you'd prefer that I use a different key rather than the test key for my project. Thanks!


This forum uses Lukasz Tkacz MyBB addons.