twitter-openapi-python 0.0.40__py3-none-any.whl → 0.0.41__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.
@@ -18,6 +18,7 @@ from twitter_openapi_python.api import (
18
18
  V11GetApiUtils,
19
19
  V11PostApiUtils,
20
20
  )
21
+ from twitter_openapi_python.tid import get_tid
21
22
 
22
23
  ParamType = dict[str, Any]
23
24
 
@@ -38,19 +39,19 @@ class TwitterOpenapiPythonClient:
38
39
  return InitialStateApiUtils(self.api)
39
40
 
40
41
  def get_post_api(self) -> PostApiUtils:
41
- return PostApiUtils(twitter.PostApi(self.api), self.placeholder)
42
+ return PostApiUtils(twitter.PostApi(self.api), self.placeholder, self.ct)
42
43
 
43
44
  def get_tweet_api(self) -> TweetApiUtils:
44
- return TweetApiUtils(twitter.TweetApi(self.api), self.placeholder)
45
+ return TweetApiUtils(twitter.TweetApi(self.api), self.placeholder, self.ct)
45
46
 
46
47
  def get_user_api(self) -> UserApiUtils:
47
- return UserApiUtils(twitter.UserApi(self.api), self.placeholder)
48
+ return UserApiUtils(twitter.UserApi(self.api), self.placeholder, self.ct)
48
49
 
49
50
  def get_users_api(self) -> UsersApiUtils:
50
- return UsersApiUtils(twitter.UsersApi(self.api), self.placeholder)
51
+ return UsersApiUtils(twitter.UsersApi(self.api), self.placeholder, self.ct)
51
52
 
52
53
  def get_user_list_api(self) -> UserListApiUtils:
53
- return UserListApiUtils(twitter.UserListApi(self.api), self.placeholder)
54
+ return UserListApiUtils(twitter.UserListApi(self.api), self.placeholder, self.ct)
54
55
 
55
56
  def get_v11_get_api(self) -> V11GetApiUtils:
56
57
  return V11GetApiUtils(twitter.V11GetApi(self.api), self.placeholder)
@@ -60,7 +61,7 @@ class TwitterOpenapiPythonClient:
60
61
 
61
62
 
62
63
  class TwitterOpenapiPython:
63
- hash: str = "227f4e3716dbb034500945c378bd7874b611f8f5"
64
+ hash: str = "54acb4a0cef6aea969d3a1c75d37d58d80b0e5c0"
64
65
  placeholder_url = "https://raw.githubusercontent.com/fa0311/twitter-openapi/{hash}/src/config/placeholder.json"
65
66
  header = "https://raw.githubusercontent.com/fa0311/latest-user-agent/refs/heads/main/header.json"
66
67
  access_token: str = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: twitter-openapi-python
3
- Version: 0.0.40
3
+ Version: 0.0.41
4
4
  Summary: Twitter OpenAPI
5
5
  Home-page: https://github.com/fa0311/twitter_openapi_python
6
6
  Author: fa0311
@@ -1,5 +1,5 @@
1
1
  twitter_openapi_python/__init__.py,sha256=stqYIfWDqM0yC93SQNp4-b2hSz-ONWR3QxOG5g2oREg,339
2
- twitter_openapi_python/client.py,sha256=mFe9wE92YpM1PfstIK6on-b56N-UqefPjwEXJ7SoX7E,6887
2
+ twitter_openapi_python/client.py,sha256=9qLnlz6KtkxDzUWnZbsbbeoIVfIesg1unRMYESQ5XrY,6980
3
3
  twitter_openapi_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  twitter_openapi_python/tid.py,sha256=gYw3QWmWNRA_skpjLnMUARx_ea20ZDLCcDhdQvAlAZk,846
5
5
  twitter_openapi_python/api/__init__.py,sha256=-2hoS75Fp0KvCIWKYQFpvAl0pcbFyt7Be3ood08P7n8,643
@@ -20,9 +20,9 @@ twitter_openapi_python/models/response.py,sha256=ZuaX36mKRsVx5aiJhNw3CjrvVGVaGjM
20
20
  twitter_openapi_python/models/timeline.py,sha256=AoWfrJsonYImlweciaUSjFzmeciaX0zshi7d-FkT4LM,1392
21
21
  twitter_openapi_python/utils/__init__.py,sha256=2Am22zCH-BUwPxKnnPoHQvKEF-gWX_eryKgA4OZeiog,449
22
22
  twitter_openapi_python/utils/api.py,sha256=d6lCw3inSis9FVdQosDdTcwJPUl9UNGWT04bdd_l8xs,10325
23
- twitter_openapi_python-0.0.40.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
24
- twitter_openapi_python-0.0.40.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
25
- twitter_openapi_python-0.0.40.dist-info/METADATA,sha256=m1xwziFp526frK9LKDSSpuY7Dke46RhnDEY12aeVzQ8,3155
26
- twitter_openapi_python-0.0.40.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
27
- twitter_openapi_python-0.0.40.dist-info/top_level.txt,sha256=wKFCnW_S6aWD3nFPmd65SxZIviiqQ30LqHOLLpcnTdE,23
28
- twitter_openapi_python-0.0.40.dist-info/RECORD,,
23
+ twitter_openapi_python-0.0.41.dist-info/LICENSE,sha256=xthyYzrtSmRlBu2gnfuIxzsZeHrqtIZgZPL9UPrYiQU,1524
24
+ twitter_openapi_python-0.0.41.dist-info/LICENSE.AGPL,sha256=Nv6u1ubULm-E2y6q2-pQPK8s2BzkOltLaVlPKQ3tkcs,35182
25
+ twitter_openapi_python-0.0.41.dist-info/METADATA,sha256=DipsvapM9Bnadc_ns3hpSRLMiMTJmEe3sV8JYgcxisU,3155
26
+ twitter_openapi_python-0.0.41.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
27
+ twitter_openapi_python-0.0.41.dist-info/top_level.txt,sha256=wKFCnW_S6aWD3nFPmd65SxZIviiqQ30LqHOLLpcnTdE,23
28
+ twitter_openapi_python-0.0.41.dist-info/RECORD,,