rocketapi 1.0.12__tar.gz → 1.0.13__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.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rocketapi
3
- Version: 1.0.12
3
+ Version: 1.0.13
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.12.tar.gz
6
+ Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.13.tar.gz
7
7
  Author: RocketAPI
8
8
  Author-email: developer@rocketapi.io
@@ -85,6 +85,21 @@ class InstagramAPI(RocketAPI):
85
85
  """
86
86
  return self.get_web_profile_info(username)
87
87
 
88
+ def get_user_info_by_username(self, username):
89
+ """
90
+ Retrieve user information by username.
91
+
92
+ Please note that the responses from `get_web_profile_info` and `get_user_info_by_username` methods are different.
93
+
94
+ Args:
95
+ username (str): Username
96
+
97
+ For more information, see documentation: https://docs.rocketapi.io/api/instagram/user/get_info_by_username
98
+ """
99
+ return self.request(
100
+ "instagram/user/get_info_by_username", {"username": username}
101
+ )
102
+
88
103
  def get_user_info_by_id(self, user_id):
89
104
  """
90
105
  Retrieve user information by id.
@@ -11,7 +11,7 @@ class RocketAPI:
11
11
  For more information, see documentation: https://docs.rocketapi.io/api/
12
12
  """
13
13
  self.base_url = "https://v1.rocketapi.io/"
14
- self.version = "1.0.12"
14
+ self.version = "1.0.13"
15
15
  self.token = token
16
16
  self.max_timeout = max_timeout
17
17
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rocketapi
3
- Version: 1.0.12
3
+ Version: 1.0.13
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.12.tar.gz
6
+ Download-URL: https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.13.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.12",
6
+ version="1.0.13",
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.tar.gz",
12
+ download_url="https://github.com/rocketapi-io/rocketapi-python/archive/refs/tags/v1.0.13.tar.gz",
13
13
  install_requires=["requests"],
14
14
  )
File without changes
File without changes
File without changes