Skip to content

A scraper to fetch all cocktails, ingredients, instructions etc.

Notifications You must be signed in to change notification settings

hasanguner/cocktail-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocktail Fetcher

Scraping all the cocktails, ingredients and instructions etc. from https://www.thecocktaildb.com/.

Synopsis

Since The Cocktail DB Api does not give us all the cocktails and their details from one particular endpoint, all ingredients, related cocktails and details must be fetched respectively. Cocktail Fetcher helps you to fetch all the data and stores into a json file with the well-formatted way.

Motivation

I needed a data source regarding to cocktails, ingredients and recipes for my ongoing bartender-bot project.

Installation

Installation steps are as follows.

$ npm install
$ npm run build

Run!

Once you have run the following command, after the operation is complete, all the data will be stored in the repository.json file.

$ npm start

Tests

Use following instructions to run tests.

$ npm test

About

A scraper to fetch all cocktails, ingredients, instructions etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages