Package: what-to-eat
🍔 What to eat? 🍕CLI tool to query Wolt API in your location!Why to usewhat-to-eat? How many times have you not known what to order for dinner or lunch?What-to-eatwill help you querying and filtering restaurants available in your location viaWoltapp! 🍔Example usage:✨ Features🍔 Query restaurants in your location🍕 Filter restaurants by name, cuisine, price, rating, delivery time, etc.🍗 Display restaurant details🍟 Random restaurant draw🛠️ InstallationWhat to eatis compatible with Python 3.12+ and runs on Linux, macOS and Windows. The latest releases with binary wheels are available from pip. Before you installWhat to eatand its dependencies, make sure that your pip, setuptools and wheel are up to date.You can installwhat-to-eatusingpip:pip install what-to-eat💬 Available commandsThere are currently 3 commands available, one of which is used to configure the tool:configure,ls,random:$what-to-eat--helpUsage: what-to-eat [OPTIONS] COMMAND [ARGS]...╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ --version             -v                                                                                                    ││ --install-completion            Install completion for the current shell.                                                   ││ --show-completion               Show completion for the current shell, to copy it or customize the installation.            ││ --help                          Show this message and exit.                                                                 │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ configure                                Create configuration file to your orders                                           ││ ls                                       List restaurants queried from Wolt API.                                            ││ random                                   Finds random restaurant via Wolt API                                               │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯You can find examples of using these commands in the section below.✨ ExamplesConfigure your tool:$what-to-eatconfigureList all available restaurants in your localization:$what-to-eatlsSort restaurants byratingand limit results to 5 records:$what-to-eatls--sortrating--orderingdesc--limit5┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓┃ No. ┃                               Restaurant ┃                  Address ┃ Estimate time ┃ Delivery cost ┃ Rating ┃ Price ┃                Tags ┃┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩│ 1   │               Mikropiekarnia Pochlebstwo │       Romanowicza 5/LU7b │   25 - 35 min │ (No delivery) │   10.0 │  💰💰 │     Bakery, Grocery ││ 2   │                            KruKam Kraków │        ul. Krakowska 35A │   30 - 40 min │ (No delivery) │    9.8 │  💰💰 │    Grocery, Healthy ││ 3   │                    Piekarnia Mojego Taty │           ul. Meiselsa 6 │   20 - 30 min │ (No delivery) │    9.8 │    💰 │     Bakery, Grocery ││ 4   │  MARLIN - Fish & Chips - Smażalnie Rybne │ Krowoderskich Zuchów 21A │   45 - 55 min │ (No delivery) │    9.6 │  💰💰 │ Fish, Mediterranean ││ 5   │ Lody Ice Cream NOW - Stare Miasto II (K) │  This is a virtual venue │   20 - 30 min │ (No delivery) │    9.6 │  💰💰 │           Ice cream │└─────┴──────────────────────────────────────────┴──────────────────────────┴───────────────┴───────────────┴────────┴───────┴─────────────────────┘🍿 Restaurants in Kraków via wolt 🍿While usinglscommand you can also use optionqueryto filter results by restaurant name, address or tags:$what-to-eatls--queryPizza--limit3┏━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓┃ No. ┃                          Restaurant ┃           Address ┃ Estimate time ┃ Delivery cost ┃ Rating ┃ Price ┃                  Tags ┃┡━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩│ 1   │ Pizzeria Caprese Chillzone Młynówka │    Racławicka 21, │   20 - 30 min │ (No delivery) │    8.4 │  💰💰 │        Italian, pizza ││ 2   │                            U Filipa │ Ul. Św. Filipa 25 │   30 - 40 min │ (No delivery) │    7.8 │    💰 │                 pizza ││ 3   │                  Baqaro - Rakowicka │      Rakowicka 11 │   25 - 35 min │ (No delivery) │      - │  💰💰 │ Italian, Pinsa, pizza │└─────┴─────────────────────────────────────┴───────────────────┴───────────────┴───────────────┴────────┴───────┴───────────────────────┘🍿 Restaurants in Kraków via wolt 🍿By default your first profile isdefaultone. But while listing restaurants you can change it usingprofileoption:$what-to-eatls--profileworkYou can also display restaurant details by usinglscommand with restaurant name:$what-to-eatlszapiecek┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┃     🍕 Zapiecek ┃                       Kraków, Ul. Floriańska 20 🍕 ┃┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩│          Rating │                           Amazing (9 / 20 reviews) ││           Price │                                                 💰 ││    Opening time │                                      10:00 - 20:45 ││         Website │ https://wolt.com/pl/pol/krakow/restaurant/zapiecek ││           Phone │                                      +48 124221345 ││       Estimates │                                         30 minutes ││ Payment Methods │                                               Card ││     Description │               Kultowy bar kanapkowo - sałatkowy... ││            Tags │                                    Sandwich, Salad │└─────────────────┴────────────────────────────────────────────────────┘However, perhaps the coolest options is to randomly select restaurants.$what-to-eatrandomNote:The selection algorithm is based on the ranking and delivery time for a given restaurant.You can also enter a tag based on which a restaurant will be randomly selected:$what-to-eatrandom--tagpizzaRandom command supportstechniqueoption, which allows you to choose the algorithm used to select a restaurant. The default value ismixand it means that the restaurant will be selected based on the ranking and delivery time.$ what-to-eat random --technique mixYou can select one of the following techniques:mix- the restaurant will be selected based on the ranking and delivery time.rating- the restaurant will be selected based on the ranking.delivery_time- the restaurant will be selected based on the delivery time.random- the restaurant will be selected randomly.📖 DocumentationDocumentationCommandOptions🚀 List all restaurantswhat-to-eat lsquery,profile,tag,sort,ordering,limit🎲 Random restaurantwhat-to-eat randomprofile,tag,technique👤 Configure profilewhat-to-eat config📚 LicenseThis project is licensed under the terms of the MIT license.