Skip to main content

Python bindings for the REWE mobile API

Project description

rewerse

Python bindings for the REWE mobile API.

Notes

  • FFI wrapper around compiled Go library (Github), not native Python
  • ~9 MB package size (includes .so and .dll)
  • Linux x86_64 and Windows x86_64 only
  • Response types are untyped dicts; see Go structs for field definitions

Requirements

Installation

pip install rewerse

Usage

from rewerse import Rewerse

client = Rewerse(cert="certificate.pem", key="private.key")

markets = client.market_search("Berlin")
market_id = markets[0]["wwIdent"]

response = client.get_products(market_id, "Milch")
discounts = client.get_discounts(market_id)
recipes = client.recipe_search(search_term="Pasta")

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rewerse-0.1.0.tar.gz (8.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rewerse-0.1.0-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

Details for the file rewerse-0.1.0.tar.gz.

File metadata

  • Download URL: rewerse-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for rewerse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4401af2cf72e4e38a4c4a04d6267ddba7663672c3a6c91af0ca40ce6dc6f9ec2
MD5 7a8585f090d5661452f9822fa130be2a
BLAKE2b-256 a4889b2a9008c5115b82f31456aa83db4c37e049fe8cbd99aeae071ff9554f80

See more details on using hashes here.

File details

Details for the file rewerse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rewerse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for rewerse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4edb7347bc0e1d6ccb722a61759efed4667011337c3eefdb9e8ce7a786f601e1
MD5 6bbcf468ba8948d1be78f3cb30c0e4b9
BLAKE2b-256 de0846499e5707ccedad4767dd15acb95c012833b7c491a8b20ff7f12097633c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page