a1fd24c92d
All checks were successful
Build and Upload Python Package / build (push) Successful in 52s
22 lines
597 B
Python
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)
|