bensteUEM / ChurchToolsAPI

Collection of Python files to use the API for ChurchTools
6 stars 3 forks source link

Simplify Paginated Requests to ChurchTools api #103

Closed bensteUEM closed 1 month ago

bensteUEM commented 1 month ago

with https://github.com/bensteUEM/ChurchToolsAPI/commit/4f0c69c929dcc08415d2f1d56ce9bac7279e2098#diff-acbc88bf53d482b4a6ec290d435991157ef0ccebcf935ea28657667e05711af6R15

ef combine_paginated_response_data( self, response_content: dict, url: str, **kwargs ) -> dict:

was implemented and used for resources. Other requests implement a similar code - e.g. get songs

Might resolve https://github.com/bensteUEM/ChurchToolsAPI/issues/98