Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2188d76

Browse files
1.0.12
1 parent 23ada9f commit 2188d76

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

‎rocketapi/instagramapi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def request(self, method, data):
2626
self.last_response = response
2727
self.counter += 1
2828
if response["status"] == "done":
29+
if method in ["instagram/media/get_shortcode_by_id", "instagram/media/get_id_by_shortcode"]:
30+
return response
31+
2932
if (
3033
response["response"]["status_code"] == 200
3134
and response["response"]["content_type"] == "application/json"

‎rocketapi/rocketapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self, token, max_timeout=30):
1111
For more information, see documentation: https://docs.rocketapi.io/api/
1212
"""
1313
self.base_url = "https://v1.rocketapi.io/"
14-
self.version = "1.0.11"
14+
self.version = "1.0.12"
1515
self.token = token
1616
self.max_timeout = max_timeout
1717

‎setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
setuptools.setup(
55
name="rocketapi",
6-
version="1.0.11",
6+
version="1.0.12",
77
author="RocketAPI",
88
author_email="developer@rocketapi.io",
99
description="RocketAPI Python SDK",
1010
packages=["rocketapi"],
1111
url="https://github.com/rocketapi-io/rocketapi-python",
12-
download_url="https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.11.tar.gz",
12+
download_url="https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.12.tar.gz",
1313
install_requires=["requests"],
1414
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /