rocketapi 1.0.8__tar.gz → 1.0.9__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.
- {rocketapi-1.0.8 → rocketapi-1.0.9}/PKG-INFO +2 -2
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi/instagramapi.py +24 -3
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi/rocketapi.py +1 -1
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi.egg-info/PKG-INFO +2 -2
- {rocketapi-1.0.8 → rocketapi-1.0.9}/setup.py +2 -2
- {rocketapi-1.0.8 → rocketapi-1.0.9}/README.md +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/pyproject.toml +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi/__init__.py +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi/exceptions.py +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi/threadsapi.py +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi.egg-info/SOURCES.txt +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi.egg-info/dependency_links.txt +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi.egg-info/requires.txt +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/rocketapi.egg-info/top_level.txt +0 -0
- {rocketapi-1.0.8 → rocketapi-1.0.9}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rocketapi
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.9
|
|
4
4
|
Summary: RocketAPI Python SDK
|
|
5
5
|
Home-page: https://github.com/rocketapi-io/rocketapi-python
|
|
6
|
-
Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.
|
|
6
|
+
Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.9.tar.gz
|
|
7
7
|
Author: RocketAPI
|
|
8
8
|
Author-email: developer@rocketapi.io
|
|
@@ -312,6 +312,19 @@ class InstagramAPI(RocketAPI):
|
|
|
312
312
|
payload["max_id"] = max_id
|
|
313
313
|
return self.request("instagram/media/get_likes", payload)
|
|
314
314
|
|
|
315
|
+
def get_media_likes_by_id(self, media_id):
|
|
316
|
+
"""
|
|
317
|
+
Retrieve up to 1000 media likes by media id.
|
|
318
|
+
|
|
319
|
+
Args:
|
|
320
|
+
media_id (int): Media id
|
|
321
|
+
|
|
322
|
+
Pagination is not supported for this endpoint.
|
|
323
|
+
|
|
324
|
+
For more information, see documentation: https://docs.rocketapi.io/api/instagram/media/get_likes_by_id
|
|
325
|
+
"""
|
|
326
|
+
return self.request("instagram/media/get_likes_by_id", {"id": media_id})
|
|
327
|
+
|
|
315
328
|
def get_media_comments(self, media_id, can_support_threading=True, min_id=None):
|
|
316
329
|
"""
|
|
317
330
|
Retrieve media comments by media id.
|
|
@@ -521,13 +534,21 @@ class InstagramAPI(RocketAPI):
|
|
|
521
534
|
payload["max_id"] = max_id
|
|
522
535
|
return self.request("instagram/audio/get_media_by_canonical_id", payload)
|
|
523
536
|
|
|
537
|
+
def get_live_info(self, broadcast_id):
|
|
538
|
+
"""
|
|
539
|
+
Retrieve live information by broadcast id.
|
|
540
|
+
|
|
541
|
+
Args:
|
|
542
|
+
broadcast_id (int): Broadcast id
|
|
543
|
+
|
|
544
|
+
For more information, see documentation: https://docs.rocketapi.io/api/instagram/live/get_info
|
|
545
|
+
"""
|
|
546
|
+
return self.request("instagram/live/get_info", {"id": broadcast_id})
|
|
547
|
+
|
|
524
548
|
def get_user_about(self, user_id):
|
|
525
549
|
"""
|
|
526
550
|
Obtain user details from «About this Account» section.
|
|
527
551
|
|
|
528
|
-
⭐️ This method is exclusively available to our Enterprise+ clients.
|
|
529
|
-
If you wish to enable it for your account, please get in touch with our support team: https://t.me/rocketapi
|
|
530
|
-
|
|
531
552
|
Args:
|
|
532
553
|
user_id (int): User id
|
|
533
554
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rocketapi
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.9
|
|
4
4
|
Summary: RocketAPI Python SDK
|
|
5
5
|
Home-page: https://github.com/rocketapi-io/rocketapi-python
|
|
6
|
-
Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.
|
|
6
|
+
Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.9.tar.gz
|
|
7
7
|
Author: RocketAPI
|
|
8
8
|
Author-email: developer@rocketapi.io
|
|
@@ -3,12 +3,12 @@ import setuptools
|
|
|
3
3
|
|
|
4
4
|
setuptools.setup(
|
|
5
5
|
name="rocketapi",
|
|
6
|
-
version="1.0.
|
|
6
|
+
version="1.0.9",
|
|
7
7
|
author="RocketAPI",
|
|
8
8
|
author_email="developer@rocketapi.io",
|
|
9
9
|
description="RocketAPI Python SDK",
|
|
10
10
|
packages=["rocketapi"],
|
|
11
11
|
url="https://github.com/rocketapi-io/rocketapi-python",
|
|
12
|
-
download_url="https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.
|
|
12
|
+
download_url="https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.9.tar.gz",
|
|
13
13
|
install_requires=["requests"],
|
|
14
14
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|