wallabag-api-client/src/wallabag_api_client/__init__.py
ksyasuda a1fd24c92d
All checks were successful
Build and Upload Python Package / build (push) Successful in 52s
initial commit
2024-09-07 19:34:48 -07:00

22 lines
597 B
Python

from .client import WallabagClient
from .methods.annotations import AnnotationsAPI
from .methods.entries import EntriesAPI
from .methods.tags import TagsAPI
class WallabagAPI:
def __init__(
self,
client_id,
client_secret,
username,
password,
base_url="https://app.wallabag.it",
):
self.client = WallabagClient(
client_id, client_secret, username, password, base_url
)
self.entries = EntriesAPI(self.client)
self.tags = TagsAPI(self.client)
self.annotations = AnnotationsAPI(self.client)