mixpeek 0.8.0__py3-none-any.whl → 0.8.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.
- mixpeek/endpoints/collections.py +9 -0
- {mixpeek-0.8.0.dist-info → mixpeek-0.8.1.dist-info}/METADATA +1 -1
- {mixpeek-0.8.0.dist-info → mixpeek-0.8.1.dist-info}/RECORD +5 -5
- {mixpeek-0.8.0.dist-info → mixpeek-0.8.1.dist-info}/WHEEL +0 -0
- {mixpeek-0.8.0.dist-info → mixpeek-0.8.1.dist-info}/top_level.txt +0 -0
mixpeek/endpoints/collections.py
CHANGED
@@ -58,6 +58,15 @@ class Collections:
|
|
58
58
|
except requests.RequestException as e:
|
59
59
|
return {"error": str(e)}
|
60
60
|
|
61
|
+
def get_full_file(self, file_id):
|
62
|
+
try:
|
63
|
+
url = f"{self.base_url}collections/file/{file_id}/full"
|
64
|
+
response = requests.get(url, headers=self.headers)
|
65
|
+
response.raise_for_status()
|
66
|
+
return response.json()
|
67
|
+
except requests.RequestException as e:
|
68
|
+
return {"error": str(e)}
|
69
|
+
|
61
70
|
def delete_file_by_id(self, file_id):
|
62
71
|
try:
|
63
72
|
url = f"{self.base_url}collections/file/{file_id}"
|
@@ -2,14 +2,14 @@ mixpeek/__init__.py,sha256=XDdcK7wTEOEcF1cp-GeWmgPJ21Ny1R9pB0PPNrdDTMo,28
|
|
2
2
|
mixpeek/client.py,sha256=FcSjc73WMMKPHzZKye2_XicwJP1bY_iaMWdIv-ft1Rw,906
|
3
3
|
mixpeek/exceptions.py,sha256=Orhdo5UFLn3fcWVJtlgkznW8Iy5ndL96h0qTY8zOlDA,235
|
4
4
|
mixpeek/endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
mixpeek/endpoints/collections.py,sha256
|
5
|
+
mixpeek/endpoints/collections.py,sha256=-mxmI4Bs60OH6HRPzE03rr0XVnzqUxL_iHgF-_4R6Qc,3232
|
6
6
|
mixpeek/endpoints/embed.py,sha256=ybDqyIt0oJiwIdH1QSwuV-CPeJgd-zW0etNAcBdgZYE,2290
|
7
7
|
mixpeek/endpoints/index.py,sha256=kG5bf0ycIWvooicA5xowXrWH4x6nbzP6XdyK-XQHqU0,1976
|
8
8
|
mixpeek/endpoints/register.py,sha256=ZVes4BPxQsPRNk70tGeVe_CYr4eVQKL-CTVmzpJAHM4,1314
|
9
9
|
mixpeek/endpoints/search.py,sha256=u3onbss7Llx0AgcTSRtel6bGO5Ly3jvraXPcA26GzsY,2387
|
10
10
|
mixpeek/endpoints/tasks.py,sha256=GBkscCYVv46JkJ4MVOtM6tL__rymnM3bmt4PrdRK04Y,839
|
11
11
|
mixpeek/endpoints/tools.py,sha256=T8qb9zngY3V_vwtmBBrTqPvqZl1QIL8q3at3UGIj4bg,4709
|
12
|
-
mixpeek-0.8.
|
13
|
-
mixpeek-0.8.
|
14
|
-
mixpeek-0.8.
|
15
|
-
mixpeek-0.8.
|
12
|
+
mixpeek-0.8.1.dist-info/METADATA,sha256=aCVFiT_BXaKmv-DydThZYI6HJhgpcaeg1NXnFwN-9vk,10616
|
13
|
+
mixpeek-0.8.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
14
|
+
mixpeek-0.8.1.dist-info/top_level.txt,sha256=EJ8Jc4IhqyUwnUlBwKbs498Ju4O9a-IDh2kXc_lo6Vg,8
|
15
|
+
mixpeek-0.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|