karakeep-python-api 0.1.5__tar.gz → 0.1.6__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 (18) hide show
  1. {karakeep_python_api-0.1.5/karakeep_python_api.egg-info → karakeep_python_api-0.1.6}/PKG-INFO +2 -2
  2. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/README.md +1 -1
  3. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api/karakeep_api.py +2 -2
  4. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api/openapi_reference.json +1 -23
  5. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6/karakeep_python_api.egg-info}/PKG-INFO +2 -2
  6. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/setup.py +1 -1
  7. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/LICENSE +0 -0
  8. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/MANIFEST.in +0 -0
  9. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api/__init__.py +0 -0
  10. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api/__main__.py +0 -0
  11. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api/datatypes.py +0 -0
  12. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api.egg-info/SOURCES.txt +0 -0
  13. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api.egg-info/dependency_links.txt +0 -0
  14. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api.egg-info/entry_points.txt +0 -0
  15. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api.egg-info/requires.txt +0 -0
  16. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/karakeep_python_api.egg-info/top_level.txt +0 -0
  17. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/setup.cfg +0 -0
  18. {karakeep_python_api-0.1.5 → karakeep_python_api-0.1.6}/tests/test_karakeep_api.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: karakeep_python_api
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Community python client for the Karakeep API.
5
5
  Home-page: https://github.com/thiswillbeyourgithub/karakeep_python_api/
6
6
  License: GPLv3
@@ -36,7 +36,7 @@ Dynamic: summary
36
36
  # Karakeep Python API Client
37
37
 
38
38
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
39
- [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api) <!-- TODO: Add PyPI link once published -->
39
+ [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api)
40
40
 
41
41
  A community-developed Python client for the [Karakeep](https://karakeep.app/) API.
42
42
 
@@ -1,7 +1,7 @@
1
1
  # Karakeep Python API Client
2
2
 
3
3
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
4
- [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api) <!-- TODO: Add PyPI link once published -->
4
+ [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api)
5
5
 
6
6
  A community-developed Python client for the [Karakeep](https://karakeep.app/) API.
7
7
 
@@ -85,7 +85,7 @@ class KarakeepAPI:
85
85
  """
86
86
 
87
87
  # Version reflects the client library version, updated by bumpver
88
- VERSION: str = "0.1.5"
88
+ VERSION: str = "0.1.6"
89
89
 
90
90
  def __init__(
91
91
  self,
@@ -1284,7 +1284,7 @@ class KarakeepAPI:
1284
1284
  None: Returns None upon successful addition (204 No Content).
1285
1285
 
1286
1286
  Raises:
1287
- APIError: If the API request fails (e.g., 404 list or bookmark not found, 400 bookmark already in list).
1287
+ APIError: If the API request fails (e.g., 404 list or bookmark not found).
1288
1288
  """
1289
1289
  endpoint = f"lists/{list_id}/bookmarks/{bookmark_id}"
1290
1290
  self._call("PUT", endpoint) # Expects 204 No Content
@@ -2071,28 +2071,6 @@
2071
2071
  "204": {
2072
2072
  "description": "No content - the bookmark was added"
2073
2073
  },
2074
- "400": {
2075
- "description": "Bookmark already in list",
2076
- "content": {
2077
- "application/json": {
2078
- "schema": {
2079
- "type": "object",
2080
- "properties": {
2081
- "code": {
2082
- "type": "string"
2083
- },
2084
- "message": {
2085
- "type": "string"
2086
- }
2087
- },
2088
- "required": [
2089
- "code",
2090
- "message"
2091
- ]
2092
- }
2093
- }
2094
- }
2095
- },
2096
2074
  "404": {
2097
2075
  "description": "List or bookmark not found",
2098
2076
  "content": {
@@ -2898,4 +2876,4 @@
2898
2876
  }
2899
2877
  }
2900
2878
  }
2901
- }
2879
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: karakeep_python_api
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Community python client for the Karakeep API.
5
5
  Home-page: https://github.com/thiswillbeyourgithub/karakeep_python_api/
6
6
  License: GPLv3
@@ -36,7 +36,7 @@ Dynamic: summary
36
36
  # Karakeep Python API Client
37
37
 
38
38
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
39
- [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api) <!-- TODO: Add PyPI link once published -->
39
+ [![PyPI version](https://badge.fury.io/py/karakeep-python-api.svg)](https://badge.fury.io/py/karakeep-python-api)
40
40
 
41
41
  A community-developed Python client for the [Karakeep](https://karakeep.app/) API.
42
42
 
@@ -7,7 +7,7 @@ with open("README.md", "r") as readme:
7
7
 
8
8
  setup(
9
9
  name="karakeep_python_api",
10
- version="0.1.5",
10
+ version="0.1.6",
11
11
  description="Community python client for the Karakeep API.", # Simplified description
12
12
  long_description=long_description,
13
13
  long_description_content_type="text/markdown",