Skip to main content

The Unofficial Python wrapper for Cornershop by Uber's API

Cornershop is a grocery delivery service owned by Uber.

This API allows the user to search for all available stores near a given zip code.

Please, check their official website at: https://cornershopapp.com/

Instalation

  • pip install cornershop

Dependencies

  • Python 3.6 or higher
  • requests

License

Even though this is just a wrapper, use it with caution, since the data fetched is Uber's property.

Getting Started

First, import and instanciate the Cornershop API model using your zip code as locality.

>>> from cornershop import Cornershop

>>> cs = Cornershop(
...     locality = '00000000',
...     country = 'BR'
... )

Then, call the following methods to fetch data from branches near your locality.

>>> cs.search_branches(query='...')
>>> cs.search_branch(branch_id='00000', query='...')
>>> cs.search_branch_group()
>>> cs.search_countries()

Set the json_format argument as True to return a json-style dictionaty instead of a cornershop model.

>>> cs = Cornershop(
...     locality = '00000000',
...     country = 'BR',
...     json_format = True
... )

Check the examples folder for more details about working with methods and working with models.

Metadata

Release files for cornershop 0.1.0

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

Source distribution (sdist)

Source distribution for cornershop 0.1.0
File Size Uploaded Provenance Actions
cornershop-0.1.0.tar.gz 9.2 kB Without provenance Details for cornershop-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.2 kB

Release files / cornershop-0.1.0.tar.gz

Download URL cornershop-0.1.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
66d1fd423e79a5ff1fadb7d5a6ea53b45efa0495ee95e9e8ddf0ce83ab65ef6f
BLAKE2b-256 checksum
How to use checksums
e6f8b2343b961def921cc94cd834be14de00486d428198c7f16a747c8b1b2fd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.27.1 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

Release files / cornershop-0.1.0-py3-none-any.whl

Download URL cornershop-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
881f089320187ee05e8b06ed02d6c6a938b19001ef202f5769d8f986f057bb1c
BLAKE2b-256 checksum
How to use checksums
2a0cf334fff72eb9750b01ea4f76b66c79633f24dc7e5800ff91a5ad850b222e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.27.1 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

Security for cornershop 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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