SystembolagetAPI
SystembolagetAPI lets you search and filter for products on Systembolaget using their unofficial client api.
Install
SystembolagetAPI is available on PyPI.
uv add systembolaget-api
pip install systembolaget-api
Usage
from systembolaget_api import (
FilterOptions,
SystembolagetAPI,
SystembolagetClient,
)
client = SystembolagetClient()
api = SystembolagetAPI(client)
# Simple query only
api.search("Nils Oscar")
# Query with filters
api.search("wine", FilterOptions(price_max=200, country=["France"]))
# Everything
api.search(
query="red wine",
options=FilterOptions(
price_min=100,
price_max=500,
country=["France", "Italy"],
vintage=[2018, 2019],
),
)
# Simple search with sorting
api.search("Nils Oscar", sort_by="ProductLaunchDate", sort_direction="Ascending")
# With filters too
api.search(
query="wine",
sort_by="Price",
sort_direction="Descending",
options=FilterOptions(price_max=200, country=["France"]),
)
Metadata
Release files for systembolaget-api 0.0.3
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 |
|---|---|---|---|---|
| systembolaget_api-0.0.3.tar.gz | 4.3 kB | Without provenance | Details for systembolaget_api-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| systembolaget_api-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for systembolaget_api-0.0.3-py3-none-any.whl |
Total release size: 10.1 kB
Release files / systembolaget_api-0.0.3.tar.gz
| Download URL | systembolaget_api-0.0.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c94d1bf90d90526f9f401ad382fcc77b7eebb019f13cc98510563fdbdea2a875
|
|
BLAKE2b-256 checksum How to use checksums |
9b6d962d0a9881cdcf1f8c1146186063b3e40e258301c75cd61ba00baa774169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / systembolaget_api-0.0.3-py3-none-any.whl
| Download URL | systembolaget_api-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eacbd7cb8057c91c93aa1b1a069a46dd89dc321af35756b32fe900150054b293
|
|
BLAKE2b-256 checksum How to use checksums |
b3cd1da9017de5a51a7f15ad1766a45430118647d2d4a173848df9fa633dbf39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for systembolaget-api 0.0.3
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.