Code Monkey home page Code Monkey logo

breakfastapi's Introduction

BreakFastApi 🍣 🍔 🍕

Breakfastapi

The most delicious API on the web. Just send a request and you'll receive the most mouth watering dish recipe with estimated cooking time and all the necessary ingredients and instructions.

Problem:

Humans are only capable of remembering a limited number of food recipes.

Solution:

Break Fast Api solves this problem by memorizing more than 12.000 recipes and making them available at will. The delicious meals are now only one GET request away from you.


Check it out!

BreakFastApi

How does it work?


For detailed instructions on installation and documentation please check the wiki page:

Wiki

Sample request:

import requests
r = requests.get("https://breakfastapi.fun/")
data = r.json()

Sample response:

{
    "status": 200,
    "recipe": {
        "id": 11574,
        "name": "Devils Steak Sauce Recipe",
        "total_duration": 15,
        "ingredients": [
            "brown sugar",
            "tomato sauce",
            "raspberry",
            "worcestershire sauce",
            "hot pepper",
            "black pepper",
            "vinegar"
        ],
        "directions": "In a saucepan over high heat, blend raspberry jam..."
    }
}

Projects using the BreakFastApi

Kotlin App

Console App

Discord Bot

Console App

GUI App

Frontend

Bon Appétit! │ Hyvää Ruokahalua! 😋

breakfastapi's People

Contributors

geometrein avatar mariiasizova avatar nakyamurya avatar obtusedev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

breakfastapi's Issues

More creativity

Well done. I am looking forward that you will add more recipes. If you turn it on to an flask application (website using flask python library) it will be supercool. If any user comes to your website, you show the list of recipes from your api and they can select the recipe and you show all other things by fetching from your api. Well done

List is a string

Hey there, awesome API, I read about it on reddit and came here,
When I use the Ingredients get method to fetch ingredients, it returns it as a string

Would be awesome if you parsed it as a list, I had to use regex to solve the problem, thanks!

DB unnecessary ordering

Hi, I've noticed this SQL SELECT * FROM items ORDER BY RANDOM() LIMIT 1 in your database.

What it does, as far as I know, is it orders WHOLE database in some random way, then selects first element. This is really slow way of fetching one random row.

Faster way of doing this is generating random number (between 0 and table size) and then doing something like SELECT * FROM items WHERE ID = <generated number>". (It seems you don't have ID column, but column Unnamed: 0 looks like ID-like column, so making it primary key is a good idea)

DB updating

Is the database of recipes being updated or what is there now is this the final product?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.