Skip to main content

SystembolagetAPI

PyPI version License Python

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)

Source distribution for systembolaget-api 0.0.3
File Size Uploaded
systembolaget_api-0.0.3.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for systembolaget-api 0.0.3
File Interpreter ABI Platform
systembolaget_api-0.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page