postboost 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. postboost-1.0.0/LICENSE +21 -0
  2. postboost-1.0.0/PKG-INFO +27 -0
  3. postboost-1.0.0/README.md +35 -0
  4. postboost-1.0.0/postboost/__init__.py +97 -0
  5. postboost-1.0.0/postboost/api/__init__.py +12 -0
  6. postboost-1.0.0/postboost/api/accounts_api.py +592 -0
  7. postboost-1.0.0/postboost/api/media_api.py +3280 -0
  8. postboost-1.0.0/postboost/api/posts_api.py +2689 -0
  9. postboost-1.0.0/postboost/api/receipts_api.py +1696 -0
  10. postboost-1.0.0/postboost/api/subscriptions_api.py +2802 -0
  11. postboost-1.0.0/postboost/api/tags_api.py +1463 -0
  12. postboost-1.0.0/postboost/api/users_api.py +1682 -0
  13. postboost-1.0.0/postboost/api/workspaces_api.py +2599 -0
  14. postboost-1.0.0/postboost/api_client.py +798 -0
  15. postboost-1.0.0/postboost/api_response.py +21 -0
  16. postboost-1.0.0/postboost/configuration.py +459 -0
  17. postboost-1.0.0/postboost/exceptions.py +200 -0
  18. postboost-1.0.0/postboost/models/__init__.py +73 -0
  19. postboost-1.0.0/postboost/models/account.py +115 -0
  20. postboost-1.0.0/postboost/models/add_generic_subscription_request.py +93 -0
  21. postboost-1.0.0/postboost/models/change_subscription_plan_request.py +101 -0
  22. postboost-1.0.0/postboost/models/checkout_subscription200_response.py +88 -0
  23. postboost-1.0.0/postboost/models/checkout_subscription_request.py +99 -0
  24. postboost-1.0.0/postboost/models/delete_media_bulk_request.py +88 -0
  25. postboost-1.0.0/postboost/models/delete_mode.py +39 -0
  26. postboost-1.0.0/postboost/models/delete_post_request.py +91 -0
  27. postboost-1.0.0/postboost/models/delete_posts_bulk_request.py +93 -0
  28. postboost-1.0.0/postboost/models/delete_receipts_bulk_request.py +88 -0
  29. postboost-1.0.0/postboost/models/delete_result.py +92 -0
  30. postboost-1.0.0/postboost/models/delete_user400_response.py +90 -0
  31. postboost-1.0.0/postboost/models/delete_users_bulk_request.py +88 -0
  32. postboost-1.0.0/postboost/models/delete_workspaces_bulk_request.py +88 -0
  33. postboost-1.0.0/postboost/models/get_remote_upload_status200_response.py +104 -0
  34. postboost-1.0.0/postboost/models/initiate_chunked_upload200_response.py +92 -0
  35. postboost-1.0.0/postboost/models/initiate_chunked_upload_request.py +93 -0
  36. postboost-1.0.0/postboost/models/initiate_remote_upload200_response.py +138 -0
  37. postboost-1.0.0/postboost/models/initiate_remote_upload200_response_one_of.py +88 -0
  38. postboost-1.0.0/postboost/models/initiate_remote_upload_request.py +91 -0
  39. postboost-1.0.0/postboost/models/list_accounts200_response.py +96 -0
  40. postboost-1.0.0/postboost/models/list_media200_response.py +108 -0
  41. postboost-1.0.0/postboost/models/list_posts200_response.py +108 -0
  42. postboost-1.0.0/postboost/models/list_receipts200_response.py +108 -0
  43. postboost-1.0.0/postboost/models/list_tags200_response.py +96 -0
  44. postboost-1.0.0/postboost/models/list_users200_response.py +108 -0
  45. postboost-1.0.0/postboost/models/list_workspaces200_response.py +108 -0
  46. postboost-1.0.0/postboost/models/media.py +115 -0
  47. postboost-1.0.0/postboost/models/pagination_meta.py +98 -0
  48. postboost-1.0.0/postboost/models/pagination_meta_links.py +94 -0
  49. postboost-1.0.0/postboost/models/pagination_meta_meta.py +98 -0
  50. postboost-1.0.0/postboost/models/post.py +132 -0
  51. postboost-1.0.0/postboost/models/post_content.py +94 -0
  52. postboost-1.0.0/postboost/models/post_input.py +114 -0
  53. postboost-1.0.0/postboost/models/post_status.py +39 -0
  54. postboost-1.0.0/postboost/models/post_version.py +102 -0
  55. postboost-1.0.0/postboost/models/receipt.py +107 -0
  56. postboost-1.0.0/postboost/models/receipt_input.py +105 -0
  57. postboost-1.0.0/postboost/models/receipt_update_input.py +103 -0
  58. postboost-1.0.0/postboost/models/remove_user_from_workspace_request.py +88 -0
  59. postboost-1.0.0/postboost/models/schedule_post_request.py +88 -0
  60. postboost-1.0.0/postboost/models/schedule_result.py +91 -0
  61. postboost-1.0.0/postboost/models/subscription.py +104 -0
  62. postboost-1.0.0/postboost/models/subscription_input.py +96 -0
  63. postboost-1.0.0/postboost/models/subscription_status.py +42 -0
  64. postboost-1.0.0/postboost/models/subscription_update_input.py +96 -0
  65. postboost-1.0.0/postboost/models/tag.py +94 -0
  66. postboost-1.0.0/postboost/models/tag_input.py +90 -0
  67. postboost-1.0.0/postboost/models/update_media_request.py +88 -0
  68. postboost-1.0.0/postboost/models/upload_chunk200_response.py +88 -0
  69. postboost-1.0.0/postboost/models/user.py +99 -0
  70. postboost-1.0.0/postboost/models/user_input.py +97 -0
  71. postboost-1.0.0/postboost/models/user_update_input.py +96 -0
  72. postboost-1.0.0/postboost/models/workspace.py +113 -0
  73. postboost-1.0.0/postboost/models/workspace_input.py +102 -0
  74. postboost-1.0.0/postboost/models/workspace_user_input.py +101 -0
  75. postboost-1.0.0/postboost/py.typed +0 -0
  76. postboost-1.0.0/postboost/rest.py +258 -0
  77. postboost-1.0.0/postboost.egg-info/PKG-INFO +27 -0
  78. postboost-1.0.0/postboost.egg-info/SOURCES.txt +147 -0
  79. postboost-1.0.0/postboost.egg-info/dependency_links.txt +1 -0
  80. postboost-1.0.0/postboost.egg-info/requires.txt +4 -0
  81. postboost-1.0.0/postboost.egg-info/top_level.txt +1 -0
  82. postboost-1.0.0/pyproject.toml +72 -0
  83. postboost-1.0.0/setup.cfg +7 -0
  84. postboost-1.0.0/setup.py +51 -0
  85. postboost-1.0.0/test/test_account.py +60 -0
  86. postboost-1.0.0/test/test_accounts_api.py +46 -0
  87. postboost-1.0.0/test/test_add_generic_subscription_request.py +56 -0
  88. postboost-1.0.0/test/test_change_subscription_plan_request.py +59 -0
  89. postboost-1.0.0/test/test_checkout_subscription200_response.py +52 -0
  90. postboost-1.0.0/test/test_checkout_subscription_request.py +56 -0
  91. postboost-1.0.0/test/test_delete_media_bulk_request.py +57 -0
  92. postboost-1.0.0/test/test_delete_mode.py +34 -0
  93. postboost-1.0.0/test/test_delete_post_request.py +53 -0
  94. postboost-1.0.0/test/test_delete_posts_bulk_request.py +59 -0
  95. postboost-1.0.0/test/test_delete_receipts_bulk_request.py +57 -0
  96. postboost-1.0.0/test/test_delete_result.py +54 -0
  97. postboost-1.0.0/test/test_delete_user400_response.py +53 -0
  98. postboost-1.0.0/test/test_delete_users_bulk_request.py +57 -0
  99. postboost-1.0.0/test/test_delete_workspaces_bulk_request.py +57 -0
  100. postboost-1.0.0/test/test_get_remote_upload_status200_response.py +62 -0
  101. postboost-1.0.0/test/test_initiate_chunked_upload200_response.py +54 -0
  102. postboost-1.0.0/test/test_initiate_chunked_upload_request.py +57 -0
  103. postboost-1.0.0/test/test_initiate_remote_upload200_response.py +61 -0
  104. postboost-1.0.0/test/test_initiate_remote_upload200_response_one_of.py +52 -0
  105. postboost-1.0.0/test/test_initiate_remote_upload_request.py +54 -0
  106. postboost-1.0.0/test/test_list_accounts200_response.py +63 -0
  107. postboost-1.0.0/test/test_list_media200_response.py +75 -0
  108. postboost-1.0.0/test/test_list_posts200_response.py +109 -0
  109. postboost-1.0.0/test/test_list_receipts200_response.py +76 -0
  110. postboost-1.0.0/test/test_list_tags200_response.py +58 -0
  111. postboost-1.0.0/test/test_list_users200_response.py +72 -0
  112. postboost-1.0.0/test/test_list_workspaces200_response.py +78 -0
  113. postboost-1.0.0/test/test_media.py +60 -0
  114. postboost-1.0.0/test/test_media_api.py +109 -0
  115. postboost-1.0.0/test/test_pagination_meta.py +63 -0
  116. postboost-1.0.0/test/test_pagination_meta_links.py +55 -0
  117. postboost-1.0.0/test/test_pagination_meta_meta.py +57 -0
  118. postboost-1.0.0/test/test_post.py +94 -0
  119. postboost-1.0.0/test/test_post_content.py +59 -0
  120. postboost-1.0.0/test/test_post_input.py +97 -0
  121. postboost-1.0.0/test/test_post_status.py +34 -0
  122. postboost-1.0.0/test/test_post_version.py +78 -0
  123. postboost-1.0.0/test/test_posts_api.py +95 -0
  124. postboost-1.0.0/test/test_receipt.py +61 -0
  125. postboost-1.0.0/test/test_receipt_input.py +67 -0
  126. postboost-1.0.0/test/test_receipt_update_input.py +64 -0
  127. postboost-1.0.0/test/test_receipts_api.py +74 -0
  128. postboost-1.0.0/test/test_remove_user_from_workspace_request.py +53 -0
  129. postboost-1.0.0/test/test_schedule_post_request.py +53 -0
  130. postboost-1.0.0/test/test_schedule_result.py +53 -0
  131. postboost-1.0.0/test/test_subscription.py +59 -0
  132. postboost-1.0.0/test/test_subscription_input.py +58 -0
  133. postboost-1.0.0/test/test_subscription_status.py +34 -0
  134. postboost-1.0.0/test/test_subscription_update_input.py +57 -0
  135. postboost-1.0.0/test/test_subscriptions_api.py +102 -0
  136. postboost-1.0.0/test/test_tag.py +55 -0
  137. postboost-1.0.0/test/test_tag_input.py +55 -0
  138. postboost-1.0.0/test/test_tags_api.py +67 -0
  139. postboost-1.0.0/test/test_update_media_request.py +53 -0
  140. postboost-1.0.0/test/test_upload_chunk200_response.py +52 -0
  141. postboost-1.0.0/test/test_user.py +57 -0
  142. postboost-1.0.0/test/test_user_input.py +61 -0
  143. postboost-1.0.0/test/test_user_update_input.py +59 -0
  144. postboost-1.0.0/test/test_users_api.py +74 -0
  145. postboost-1.0.0/test/test_workspace.py +63 -0
  146. postboost-1.0.0/test/test_workspace_input.py +58 -0
  147. postboost-1.0.0/test/test_workspace_user_input.py +59 -0
  148. postboost-1.0.0/test/test_workspaces_api.py +95 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 PostBoost
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: postboost
3
+ Version: 1.0.0
4
+ Summary: PostBoost API
5
+ Home-page:
6
+ Author: PostBoost Support
7
+ Author-email: hi@postboost.co
8
+ License: Commercial
9
+ Keywords: OpenAPI,OpenAPI-Generator,PostBoost API
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
13
+ Requires-Dist: python-dateutil>=2.8.2
14
+ Requires-Dist: pydantic>=2
15
+ Requires-Dist: typing-extensions>=4.7.1
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
25
+
26
+ The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with &#x60;/{workspaceUuid}&#x60;. Panel/admin endpoints are prefixed with &#x60;/panel&#x60;. ## Authentication All requests require a Bearer token in the &#x60;Authorization&#x60; header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. &#x60;&#x60;&#x60; Authorization: Bearer YOUR_API_TOKEN &#x60;&#x60;&#x60;
27
+
@@ -0,0 +1,35 @@
1
+ # PostBoost Python SDK
2
+
3
+ Official Python client for the [PostBoost API](https://postboost.co/docs/api/) — publish, schedule, and analyze social media posts across 11+ platforms from a single integration.
4
+
5
+ ## Installation
6
+
7
+ pip install postboost
8
+
9
+ ## Quick Start
10
+
11
+ ```python
12
+ import postboost
13
+
14
+ client = postboost.PostBoostApi(access_token="YOUR_TOKEN")
15
+ posts = client.posts_api.list_posts(workspace_uuid="YOUR_WORKSPACE_UUID")
16
+ ```
17
+
18
+ ## Authentication
19
+
20
+ All requests require a Bearer token. Generate one in your PostBoost dashboard under **Settings → Access Tokens**, then pass it when constructing the client.
21
+
22
+ ## Documentation
23
+
24
+ - [API Reference](https://postboost.co/docs/api/)
25
+ - [Getting Started](https://postboost.co/docs/)
26
+ - [OpenAPI Spec](https://github.com/postboost/postboost/blob/main/openapi/postboost-api.yaml)
27
+
28
+ ## Support
29
+
30
+ - Email: hi@postboost.co
31
+ - Docs: https://postboost.co/docs/
32
+
33
+ ## License
34
+
35
+ MIT
@@ -0,0 +1,97 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ PostBoost API
7
+
8
+ The PostBoost REST API lets you publish, schedule, and analyze social media posts across 8+ platforms from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
9
+
10
+ The version of the OpenAPI document: 1.0.0
11
+ Contact: hi@postboost.co
12
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
+
14
+ Do not edit the class manually.
15
+ """ # noqa: E501
16
+
17
+
18
+ __version__ = "1.0.0"
19
+
20
+ # import apis into sdk package
21
+ from postboost.api.accounts_api import AccountsApi
22
+ from postboost.api.media_api import MediaApi
23
+ from postboost.api.posts_api import PostsApi
24
+ from postboost.api.receipts_api import ReceiptsApi
25
+ from postboost.api.subscriptions_api import SubscriptionsApi
26
+ from postboost.api.tags_api import TagsApi
27
+ from postboost.api.users_api import UsersApi
28
+ from postboost.api.workspaces_api import WorkspacesApi
29
+
30
+ # import ApiClient
31
+ from postboost.api_response import ApiResponse
32
+ from postboost.api_client import ApiClient
33
+ from postboost.configuration import Configuration
34
+ from postboost.exceptions import OpenApiException
35
+ from postboost.exceptions import ApiTypeError
36
+ from postboost.exceptions import ApiValueError
37
+ from postboost.exceptions import ApiKeyError
38
+ from postboost.exceptions import ApiAttributeError
39
+ from postboost.exceptions import ApiException
40
+
41
+ # import models into sdk package
42
+ from postboost.models.account import Account
43
+ from postboost.models.add_generic_subscription_request import AddGenericSubscriptionRequest
44
+ from postboost.models.change_subscription_plan_request import ChangeSubscriptionPlanRequest
45
+ from postboost.models.checkout_subscription200_response import CheckoutSubscription200Response
46
+ from postboost.models.checkout_subscription_request import CheckoutSubscriptionRequest
47
+ from postboost.models.delete_media_bulk_request import DeleteMediaBulkRequest
48
+ from postboost.models.delete_mode import DeleteMode
49
+ from postboost.models.delete_post_request import DeletePostRequest
50
+ from postboost.models.delete_posts_bulk_request import DeletePostsBulkRequest
51
+ from postboost.models.delete_receipts_bulk_request import DeleteReceiptsBulkRequest
52
+ from postboost.models.delete_result import DeleteResult
53
+ from postboost.models.delete_user400_response import DeleteUser400Response
54
+ from postboost.models.delete_users_bulk_request import DeleteUsersBulkRequest
55
+ from postboost.models.delete_workspaces_bulk_request import DeleteWorkspacesBulkRequest
56
+ from postboost.models.get_remote_upload_status200_response import GetRemoteUploadStatus200Response
57
+ from postboost.models.initiate_chunked_upload200_response import InitiateChunkedUpload200Response
58
+ from postboost.models.initiate_chunked_upload_request import InitiateChunkedUploadRequest
59
+ from postboost.models.initiate_remote_upload200_response import InitiateRemoteUpload200Response
60
+ from postboost.models.initiate_remote_upload200_response_one_of import InitiateRemoteUpload200ResponseOneOf
61
+ from postboost.models.initiate_remote_upload_request import InitiateRemoteUploadRequest
62
+ from postboost.models.list_accounts200_response import ListAccounts200Response
63
+ from postboost.models.list_media200_response import ListMedia200Response
64
+ from postboost.models.list_posts200_response import ListPosts200Response
65
+ from postboost.models.list_receipts200_response import ListReceipts200Response
66
+ from postboost.models.list_tags200_response import ListTags200Response
67
+ from postboost.models.list_users200_response import ListUsers200Response
68
+ from postboost.models.list_workspaces200_response import ListWorkspaces200Response
69
+ from postboost.models.media import Media
70
+ from postboost.models.pagination_meta import PaginationMeta
71
+ from postboost.models.pagination_meta_links import PaginationMetaLinks
72
+ from postboost.models.pagination_meta_meta import PaginationMetaMeta
73
+ from postboost.models.post import Post
74
+ from postboost.models.post_content import PostContent
75
+ from postboost.models.post_input import PostInput
76
+ from postboost.models.post_status import PostStatus
77
+ from postboost.models.post_version import PostVersion
78
+ from postboost.models.receipt import Receipt
79
+ from postboost.models.receipt_input import ReceiptInput
80
+ from postboost.models.receipt_update_input import ReceiptUpdateInput
81
+ from postboost.models.remove_user_from_workspace_request import RemoveUserFromWorkspaceRequest
82
+ from postboost.models.schedule_post_request import SchedulePostRequest
83
+ from postboost.models.schedule_result import ScheduleResult
84
+ from postboost.models.subscription import Subscription
85
+ from postboost.models.subscription_input import SubscriptionInput
86
+ from postboost.models.subscription_status import SubscriptionStatus
87
+ from postboost.models.subscription_update_input import SubscriptionUpdateInput
88
+ from postboost.models.tag import Tag
89
+ from postboost.models.tag_input import TagInput
90
+ from postboost.models.update_media_request import UpdateMediaRequest
91
+ from postboost.models.upload_chunk200_response import UploadChunk200Response
92
+ from postboost.models.user import User
93
+ from postboost.models.user_input import UserInput
94
+ from postboost.models.user_update_input import UserUpdateInput
95
+ from postboost.models.workspace import Workspace
96
+ from postboost.models.workspace_input import WorkspaceInput
97
+ from postboost.models.workspace_user_input import WorkspaceUserInput
@@ -0,0 +1,12 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from postboost.api.accounts_api import AccountsApi
5
+ from postboost.api.media_api import MediaApi
6
+ from postboost.api.posts_api import PostsApi
7
+ from postboost.api.receipts_api import ReceiptsApi
8
+ from postboost.api.subscriptions_api import SubscriptionsApi
9
+ from postboost.api.tags_api import TagsApi
10
+ from postboost.api.users_api import UsersApi
11
+ from postboost.api.workspaces_api import WorkspacesApi
12
+