Unofficial command line interface for keeping track of dm Fotoparadies orders.
Project description
fotoparadies-orders-cli
Unofficial command line interface for keeping track of dm Fotoparadies orders.
You can use it to store a list of orders (todo) or check your order directly via cli.
It uses the same api your browser would contact when using the website.
Installation
You can install it from PyPi
pip install --user fotoparadies-orders-cli-avra
I do not provide the api endpoint. You will need to set this up on your own. If there is an api_endpoint.txt
in the current path the program will load its content as the endpoint. You can also specify the endpoint in your environment variables as FOTOPARADIES_API_URL
. If your default shell is bash you can use:
echo 'export FOTOPARADIES_API_URL=<API_URL>' >> ~/.bash_profile
The env variable will be prioritized over api_endpoint.txt
.
Usage
usage: -m [-h] [--shop SHOP] [--order ORDER] [--json]
optional arguments:
-h, --help show this help message and exit
--shop SHOP, -s SHOP shop number, used for direct api call
--order ORDER, -o ORDER
order number, used for direct api call
--json return json of api call if using --shop and --order
$ fotoparadies # can be used without args to open a menu
$ fotoparadies -s 000 -o 000000 # returns order state immediately
2020-09-23: DELIVERED
Ihr Auftrag liegt zur Abholung bereit.
2,90 €
Contributing
Pull requests/issues are welcome.
Disclaimer
This is an unofficial interface. This is in no way affiliated with dm, dm Fotoparadies or any of its subsidiaries. Use at your own risk.
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
Hashes for fotoparadies-orders-cli-avra-0.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6ceb0841b05be43459c9932b6d0c052d83257199e6b0e2b18c7c93d89b8185d |
|
MD5 | 8a27ef2ce6b61211470d129c860e1e2f |
|
BLAKE2b-256 | d573c7683d0ed23016aac3096e347a40d4062964a979a46c24024936c0604513 |
Hashes for fotoparadies_orders_cli_avra-0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b38b1e57d4cf9e1813c89f066c9f855e62d8f742907c75b0eb62b760673174 |
|
MD5 | c9ac769614dee3ff716898a7cbfde06c |
|
BLAKE2b-256 | 19a338b8ec11d7bd6a6f91d555f5e3556ee6323fd1c9b985f731941a7296a1be |