What to eat? CLI tool to interaction with Wolt API
Project description
๐ What to eat? ๐
CLI tool to query Wolt API in your location!
Why to use what-to-eat? How many times have you not known what to order for dinner or lunch? What-to-eat will help you querying and filtering restaurants available in your location via Wolt app! ๐
Example usage:
๐ ๏ธ Installation
You can install what-to-eat
using pip:
pip install what-to-eat
๐ฌ Available commands
There are currently 3 commands available, one of which is used to configure the tool: configure
, ls
, random
:
$ what-to-eat --help
Usage: what-to-eat [OPTIONS] COMMAND [ARGS]...
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --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 Finds best restaurants via Wolt API โ
โ random Finds random restaurant via Wolt API โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
You can find examples of using these commands in the section below.
โจ Examples
Configure your tool:$ what-to-eat configure
List all available restaurants in your localization:
$ what-to-eat ls
Sort restaurants by rating
and limit results to 5 records:
$ what-to-eat ls --sort rating --ordering desc --limit 5
โโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโณโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโ
โ 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 using ls
command you can also use option query
to filter results by restaurant name, address or tags:
$ what-to-eat ls --query Pizza --limit 3
โโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโณโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโ
โ 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 is default
one. But while listing restaurants you can change it using profile
option:
$ what-to-eat ls --profile work
You can also display restaurant details by using ls
command with restaurant name:
$ what-to-eat ls zapiecek
โโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ 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-eat random
Note: 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-eat random --tag pizza
Random command supports technique
option, which allows you to choose the algorithm used to select a restaurant. The default value is mix
and it means that the restaurant will be selected based on the ranking and delivery time.
$ what-to-eat random --technique mix
You 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.
๐ License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file what_to_eat-0.1.5.tar.gz
.
File metadata
- Download URL: what_to_eat-0.1.5.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73463bd41ac27cc09d5b226f39bb1b7bc687c2fc962093bbc24221803a2db1a |
|
MD5 | 057b8ba4cd4e4ceb249f8fb794e8ee83 |
|
BLAKE2b-256 | 1c4f8247714ded8e3a9a24e32df7ff108b864cf3a1bd7538728d0ee61909057b |
File details
Details for the file what_to_eat-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: what_to_eat-0.1.5-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Linux/5.15.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25352cbb180164d7acb59b65972844494819a3a9758f1a33a0fb178a074255fc |
|
MD5 | d00a9909cdb22fad4a34751ffba7d495 |
|
BLAKE2b-256 | f508e6752c19c0f0b7b82c8d8ec23e2a50f8d0aa4d3f28372bef4c3acbc2e526 |