LEGO™ store availability
Check the availability of Lego™ product in stores.
Disclamer
This tools is not related in any way to LEGO™ and all of it's trademark.
This tools is not designed for malicious usage and any individual or group using it this way is responsible for is own actions.
Install
pip3 install lego-store-availability
Usage
First you need to create a LegoAPI object :
from lego_store_availability import LegoAPI
lego = LegoAPI()
Then request a Store :
from lego_store_availability import Store
store = lego.store(lang="fr-fr")
Finally retrieve a Product :
from lego_store_availability import Product
product = store.product(
product_id="10307",
)
print(product.name, product.availability)
Contribute
- Clone or fork the repository.
- Install dev dependencies with
pip3 install -r dev-requirements.txt - Develop your feature or fix
- Lint with pylint
- Test it with pytest under tests/ directory
- Mock HTTP requests with responses
- Push & create a Pull Request on
developbranch - Wait for the CI (Github Action) to exit in success state
Metadata
Release files for lego-store-availability 0.2.1
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 |
|---|---|---|---|---|
| lego_store_availability-0.2.1.tar.gz | 16.9 kB | Without provenance | Details for lego_store_availability-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lego_store_availability-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for lego_store_availability-0.2.1-py3-none-any.whl |
Total release size: 34.1 kB
Release files / lego_store_availability-0.2.1.tar.gz
| Download URL | lego_store_availability-0.2.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b96f89863a5ebb329bffdd1e4d179ed1432c977ff6145461c64375cf8b0d0754
|
|
BLAKE2b-256 checksum How to use checksums |
b84694271bb2e48920be8806bc5bc05666353d6a7a838b4fa0f9543047910530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / lego_store_availability-0.2.1-py3-none-any.whl
| Download URL | lego_store_availability-0.2.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
371c61c6606100b559a687e6d17a7bbe13e028ddfccfc8edf03764d7096667e2
|
|
BLAKE2b-256 checksum How to use checksums |
e10d38ed38046235442df71c8d52c948288b941564f4b9adbc540ff86a32e46c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for lego-store-availability 0.2.1
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.