From 7ee9b039d1afb5bbf651457c7bce03fb2c81ee21 Mon Sep 17 00:00:00 2001 From: elliot-100 <3186037+elliot-100@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:40:58 +0100 Subject: [PATCH 1/2] docs: add new methods to README.md; delete obsolete warning --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 83b01c1..4e352f4 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,6 @@ Simple, unofficial library with some example scripts to access data from the [Spond](https://spond.com/) API. -> [!WARNING] -> Notice breaking changes from versions =< 0.99 to versions >= 1.0 - ## Install `pip install spond` @@ -14,8 +11,6 @@ Simple, unofficial library with some example scripts to access data from the [Sp You need a username and password from Spond - - ### Example code ``` @@ -64,6 +59,12 @@ Get Excel attendance report for a single event, available via the web client. ### change_response() Change a member's response for an event (e.g. accept/decline) +### get_posts() +Retrieve posts from group walls. + +### get_profile() +Retrieve information connected to the user's account. + ## Example scripts The following scripts are included in `examples/`. Some of the scripts might require additional packages to be installed (csv, ical etc). @@ -82,8 +83,10 @@ Generates a csv-file for each event between `from_date` and `to_date` with atten ### transactions.py Generates a csv-file for transactions / payments appeared in [Spond Club](https://www.spond.com/spond-club-overview/) > Finance > Payments. +### manual_test_functions.py +Demonstrates most `get...()` methods. + ## AsyncIO [Asyncio](https://docs.python.org/3/library/asyncio.html) might seem intimidating in the beginning, but for basic stuff, it is quite easy to follow the examples above, and just remeber to prefix functions that use the API with `async def ...` and to `await` all API-calls and all calls to said functions. [This article](https://realpython.com/async-io-python/) will give a nice introduction to both why, when and how to use asyncio in projects. - From fdb6219fe3fe5d4f1c2276618f7bea1a9a3f730b Mon Sep 17 00:00:00 2001 From: elliot-100 <3186037+elliot-100@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:51:23 +0100 Subject: [PATCH 2/2] Releasing 1.2.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a4bb744..dd8cd90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "spond" -version = "1.1.1" +version = "1.2.0" description = "Simple, unofficial library with some example scripts to access data from the Spond API." authors = ["Ola Thoresen "] license = "GPL 3.0"