systembolaget-api

A cross-platform solution for all of Systembolaget's open APIs. For up-to-date data see https://github.com/AlexGustafsson/systembolaget-api-data.

OTHER License

Stars
6
Committers
1

Bot releases are hidden (Show)

systembolaget-api - Latest Release

Published by AlexGustafsson 6 months ago

Features

  • Add feature to fetch all stores

See also https://github.com/AlexGustafsson/systembolaget-api/releases/tag/v4.0.0.

systembolaget-api - v4.0.0

Published by AlexGustafsson 6 months ago

Features

  • Add additional fields to search results
  • Add graceful exit to CLI
  • Expose current page from search cursor

Fixes

  • Fixed cursor errors not being handled in the CLI

Breaking changes

  • The stores part of the library was removed as the API has been removed. Stores are now exposed via a search functionality for which I don't see any use case for this library. To keep the maintenance cost low, it was removed entirely.
systembolaget-api -

Published by AlexGustafsson 6 months ago

Features

  • Upgrade to go v1.22
  • Move to the new builtin log library slog

Fixes

  • Fixed API key identification method. Thanks @AlbinLindskog, @dunderrrrrr, @moffepoffe, @sandberghannes for discussing the issue.

Breaking changes

  • Logs may not look the same
  • The library now expects a *slog.Logger where it previously took a *zap.Logger
systembolaget-api -

Published by AlexGustafsson about 2 years ago

Features

  • Implement logging. For verbose logs, specify the --verbose flag

Fixes

  • Stop returning results from search cursor upon errors
  • Use the provided API key
systembolaget-api -

Published by AlexGustafsson about 2 years ago

This release is the result of a complete rewrite to use Systembolaget's current APIs.

Unfortunately, Systembolaget decided to remove their public APIs. The rewrite therefore
instead use the same APIs as their website. This means that more information is now
available then previously.

systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Improve pluralization between output formats
systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Rename Stores to Store in XML
  • Remove unused struct attributes
systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Fix typo
systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Fix logging for convert command
systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Add convert command to convert between XML and JSON
  • Rewrite download command for brevity
systembolaget-api -

Published by AlexGustafsson over 4 years ago

  • Add prettify flag
  • Add sorting of values to decrease diff between runs
systembolaget-api - v1.0.0

Published by AlexGustafsson over 4 years ago

First major release ready for production use.

  • Rewritten from the ground up, targeting modern Go
systembolaget-api - 0.1.1

Published by AlexGustafsson almost 7 years ago

systembolaget-api - 0.1.0

Published by AlexGustafsson about 7 years ago

Package Rankings
Top 7.57% on Proxy.golang.org