Skip to main content

Ifood

To install

pip install ifood

To import the library

from ifood import Ifood

Defining the zip code

app = Ifood('59082311') 

or address

app = Ifood('rua+buzius+47+brazil') 

Creating object to search address

print(app.searchAddress())

All functions of address

print(app.city())
print(app.state())
print(app.country())
print(app.streetName())
print(app.postalCode())
print(app.latitude())
print(app.longitude())

Creating object to search product

app.searchItems('energetico+reign')

All functions of product

print(app.listItems())
print(app.listItems()[0]['id'])
print(app.listItems()[0]['name'])
print(app.listItems()[0]['category'])
print(app.listItems()[0]['price'])
print(app.listItems()[0]['merchant'])
print(app.listItems()[0]['slug'])
print(app.listItems()[0]['distance'])
print(app.listItems()[0]['deliveryTime'])
print(app.listItems()[0]['deliveryValue'])
print(app.listItems()[0]['mainCategoryName'])

Links

See my GitHub.

Release files for ifood 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ifood 0.0.2
File Size Uploaded
ifood-0.0.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ifood 0.0.2
File Interpreter ABI Platform
ifood-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / ifood-0.0.2.tar.gz

Download URL ifood-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
57f4b23cb6780c36a78fb817798d88d99ed5e4b6ea35e94d662bc085c1c31770
BLAKE2b-256 checksum
How to use checksums
a4b60f6054ad92c385373bb283d5586ff8a134ab6f584dbbbd45d24fe7304b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

Release files / ifood-0.0.2-py3-none-any.whl

Download URL ifood-0.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dab84c8c4b810ef6dcf0aea4fda5d0c43c9da9b02caca769651d45ca6dc94d8d
BLAKE2b-256 checksum
How to use checksums
01437e29fc845e1fa311643b2d1dd3cff7c8fd00846d44395719101d14fd043b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page