dominos 
Dominos Pizza remains today a closed system, not officially offering a public API from which to order delicious baked pizzas. However with the invent of their multiple mobile applications and their own website having been reimplemented in AngularJS it was apparent these all used some undocumented public API.
This packages implements an abstract layer to the Dominos Pizza (UK) API, returning raw response objects from which JSON payloads can be read.
Installation
PyPi
To install dominos, simply:
$ pip install dominos
GitHub
Installing the latest version from Github:
$ git clone https://github.com/tomasbasham/dominos
$ cd dominos
$ python setup.py install
Usage
To use this package you simply have to instantiate a Dominos object:
from dominos.api import Client
api = Client()
response = api.get_nearest_store('AB12 000')
print(response.json())
This returns the nearest store to the supplied postcode. There are many other methods implemented in this package to return store menus, add items to a basket and checkout.
Contributing
Fork it ( https://github.com/tomasbasham/dominos/fork )
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am ‘Add some feature’)
Push to the branch (git push origin my-new-feature)
Create a new Pull Request
Metadata
Release files for dominos 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dominos-0.0.4.tar.gz | 5.5 kB | Without provenance | Details for dominos-0.0.4.tar.gz |
Release files / dominos-0.0.4.tar.gz
| Download URL | dominos-0.0.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed55d43922d129b12942a7073252fba4bc50b855028e95d7961b63f3b73d0ef5
|
|
BLAKE2b-256 checksum How to use checksums |
3564e627fd12007b69c54491a8069c4cef90412e56422999a51351bc4dd5cbb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dominos 0.0.4
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.