Skip to content

Add TheCocktailDB extension (look up cocktails by name or ingredient) - #14136

Merged
raycastbot merged 8 commits into
raycast:mainfrom
xmok:ext/cocktail-db
Aug 28, 2024
Merged

raycastbot merged 8 commits into
raycast:mainfrom
xmok:ext/cocktail-db

Conversation

@xmok

@xmok xmok commented Aug 22, 2024

Copy link
Copy Markdown
Contributor

Presenting another extension I made a month ago.

Description

This is a Raycast extension to get a Cocktail by its Name or Ingredient using https://www.thecocktaildb.com/api.php. An API Key is not required but the Free version is limited to 25 items at a time. If you need more features, you can subscribe to their Patreon to get a paid API Key. You can then enter this API Key in Preferences.

Screencast

cocktail-db-screencast.mp4

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Aug 22, 2024
@raycastbot

ghost commented Aug 22, 2024

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Thanks for your contribution 💪

I have now tested your extension, and I have some feedback ready for you:

  • Should we make the arguments optional instead?

I'm looking forward to testing this extension again 🔥

Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

Comment thread extensions/cocktail-db/package.json Resolved
Comment thread extensions/cocktail-db/package.json Resolved
@pernielsentikaer pernielsentikaer self-assigned this Aug 28, 2024
@xmok

ghost commented Aug 28, 2024

Copy link
Copy Markdown
Contributor Author

Hi 👋

Thanks for your contribution 💪

I have now tested your extension, and I have some feedback ready for you:

  • Should we make the arguments optional instead?

I'm looking forward to testing this extension again 🔥

Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

I made the Name argument in search-cocktail-by-name optional as that works but the ingredient one doesn't return results if there's no ingredient. We can still make it optional if you think that's a better UX as it will display the EmptyView.

  • updated ray deps
  • made name argument optional
  • updated the endpoint for ingredients search (no functionality change)

@xmok
xmok requested a review from pernielsentikaer August 28, 2024 11:41

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 0857c17 into raycast:main Aug 28, 2024
@github-actions

ghost commented Aug 28, 2024

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Aug 28, 2024

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@xmok
xmok deleted the ext/cocktail-db branch September 2, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants