This repository was archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
30 lines (27 loc) · 1.29 KB
/
__init__.py
File metadata and controls
30 lines (27 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# The above encoding declaration is required and the file must be saved as UTF-8
from .services.requester import Requester
from .services.cards import CardService
from .services.collections import CollectionService
from .services.columns import ColumnService
from .services.customFields import CustomFieldService
from .services.organizations import OrganizationService
from .services.tags import TagService
from .services.tasks import TaskService
from .services.tasklists import TaskListService
from .services.users import UserService
from .services.widgets import WidgetService
class Favro(object):
def __init__(self, username, token, organizationId):
self.requester = Requester(username, token, organizationId)
self.cards = CardService(self.requester)
self.collections = CollectionService(self.requester)
self.columns = ColumnService(self.requester)
self.customFields = CustomFieldService(self.requester)
self.organizations = OrganizationService(self.requester)
self.tags = TagService(self.requester)
self.tasks = TaskService(self.requester)
self.taskLists = TaskListService(self.requester)
self.users = UserService(self.requester)
self.widgets = WidgetService(self.requester)