dubidoc 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl

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.
dubidoc/__init__.py CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  __author__ = 'Dmytro Litvinov'
4
4
  __email__ = 'me@dmytrolitvinov.com'
5
- __version__ = '0.1.0'
5
+ __version__ = '0.1.1'
6
6
 
7
7
  from .client import DubidocAPIClient
@@ -20,11 +20,8 @@ class DocumentAPI:
20
20
  path = f'{self.PATH}/{document_id}'
21
21
  return self.client.make_request(HttpMethod.GET, path)
22
22
 
23
- def edit(self, document_id, title):
23
+ def edit(self, document_id, body):
24
24
  path = f'{self.PATH}/{document_id}'
25
- body = {
26
- 'title': title,
27
- }
28
25
  return self.client.make_request(HttpMethod.PUT, path, body)
29
26
 
30
27
  def delete(self, document_id):
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dubidoc
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Python SDK for dubidoc.com.ua API
5
5
  Maintainer-email: Dmytro Litvinov <me@dmytrolitvinov.com>
6
6
  License: MIT License
7
7
  Project-URL: Homepage, https://github.com/DmytroLitvinov/python-dubidoc
8
8
  Project-URL: Issues, https://github.com/DmytroLitvinov/python-dubidoc/issues
9
- Project-URL: Changelog, https://github.com/DmytroLitvinov/python-dubidoc/CHANGELOG.md
9
+ Project-URL: Changelog, https://github.com/DmytroLitvinov/python-dubidoc/blob/main/CHANGELOG.md
10
10
  Keywords: dubidoc,Ukraine,🇺🇦,api,dubidoc.com.ua
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Environment :: Web Environment
@@ -44,6 +44,9 @@ Requires-Dist: requests
44
44
 
45
45
  Python API wrapper around Dubidoc API. Feel free to contribute and make it better! 🚀
46
46
 
47
+ **NOTE**: Since it is rearly release, some of the API endpoints may not be implemented yet. If you need some specific endpoint, feel free to create an issue or pull request.
48
+ Also, library can be changed in the future, so be careful with the updates as for now.
49
+
47
50
  ## Installation
48
51
 
49
52
  ```sh
@@ -1,19 +1,19 @@
1
- dubidoc/__init__.py,sha256=7Hi9v5lFaX9zZQUJVuiPqvyDV39PIzMoYlZ7ydcGtDg,177
1
+ dubidoc/__init__.py,sha256=eyZiRe4vKR3cVZ-_dtX1gQSoKRljEaZ2dXFANyrZF24,177
2
2
  dubidoc/client.py,sha256=eHhPnlQIpCsxL4tN8GSPQQjoppQjRqCOPQlYwQphTGs,2847
3
3
  dubidoc/enum.py,sha256=RTIS0WplquZrFTqZGtzkc95i_9jqu2Xvl6j0SFXZ72I,120
4
4
  dubidoc/_modules/__init__.py,sha256=NUeLh3Onke4cs4BGkowtqbaBByLVh_tEqtXNtacKI2w,184
5
5
  dubidoc/_modules/access_token.py,sha256=nHyYWWg95SJkifvlgtr9I_h7jPTcdpcgxORukdjwwBU,1018
6
6
  dubidoc/_modules/authentication.py,sha256=AtIyTjtwdgT1nHBQkgqfvQsJvZ-T0qqK0epKi-TwGVE,1465
7
7
  dubidoc/_modules/device.py,sha256=ItrK-wzZVEAXPIWbTUkTsYl1JHZLSSAAAHFuKbgw2MU,976
8
- dubidoc/_modules/document.py,sha256=ltE_UFsiy8WODjiGbOLkJCP-GBWpzrLJ846dmuir_hY,1511
8
+ dubidoc/_modules/document.py,sha256=_DcQyn4EA346CZAr2BrZRZA0lhNtiLoGxt2e_HCt-qc,1455
9
9
  dubidoc/_modules/document_link.py,sha256=jBb0oB5aFGMLMg-iB1SIcE7R77iMskwN1MZ2ShsN6E4,503
10
10
  dubidoc/_modules/download.py,sha256=foTua0_sFpGrwObwgOr6HPen4ngFrJOhGdsCqPUCjnI,608
11
11
  dubidoc/_modules/organization.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
12
12
  dubidoc/_modules/organization_user.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
13
13
  dubidoc/_modules/participant.py,sha256=AJ60D7cokQNQFFeUWCngWvx-NQl6VuG-YarREAW9HtE,811
14
14
  dubidoc/_modules/storecode.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
15
- dubidoc-0.1.0.dist-info/LICENSE,sha256=wYGgsJKkNcLDvJQfbrT5HabzSp3imJCmSpCOS8_pu9o,1072
16
- dubidoc-0.1.0.dist-info/METADATA,sha256=FDyva0F76MOODgQGOUTNFn85-b9r1kJFlMSCKwkP2O0,2533
17
- dubidoc-0.1.0.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
18
- dubidoc-0.1.0.dist-info/top_level.txt,sha256=SQKT6uKBzQCmsVr8MCszUFz4WYCc5Oq7wvy5Y-ZReU0,8
19
- dubidoc-0.1.0.dist-info/RECORD,,
15
+ dubidoc-0.1.1.dist-info/LICENSE,sha256=wYGgsJKkNcLDvJQfbrT5HabzSp3imJCmSpCOS8_pu9o,1072
16
+ dubidoc-0.1.1.dist-info/METADATA,sha256=YBnlFdy-TiOIw1798_4zeXnvpZ0IkVg9TaE7ve61yaw,2805
17
+ dubidoc-0.1.1.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
18
+ dubidoc-0.1.1.dist-info/top_level.txt,sha256=SQKT6uKBzQCmsVr8MCszUFz4WYCc5Oq7wvy5Y-ZReU0,8
19
+ dubidoc-0.1.1.dist-info/RECORD,,