twitter-openapi-python 0.0.38__py3-none-any.whl → 0.0.40__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.
- twitter_openapi_python/api/tweet_api.py +4 -4
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/METADATA +2 -1
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/RECORD +7 -7
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/LICENSE +0 -0
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/LICENSE.AGPL +0 -0
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/WHEEL +0 -0
- {twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/top_level.txt +0 -0
|
@@ -301,13 +301,13 @@ class TweetApiUtils:
|
|
|
301
301
|
|
|
302
302
|
def get_community_tweets_timeline(
|
|
303
303
|
self,
|
|
304
|
-
|
|
304
|
+
community_id: str,
|
|
305
305
|
cursor: Optional[str] = None,
|
|
306
306
|
count: Optional[int] = None,
|
|
307
307
|
rankingMode: Optional[Literal["Recency", "Relevance"]] = None,
|
|
308
308
|
extra_param: Optional[ParamType] = None,
|
|
309
309
|
) -> ResponseType:
|
|
310
|
-
param: ParamType = {"communityId":
|
|
310
|
+
param: ParamType = {"communityId": community_id}
|
|
311
311
|
if cursor is not None:
|
|
312
312
|
param["cursor"] = cursor
|
|
313
313
|
if count is not None:
|
|
@@ -329,12 +329,12 @@ class TweetApiUtils:
|
|
|
329
329
|
|
|
330
330
|
def get_community_media_timeline(
|
|
331
331
|
self,
|
|
332
|
-
|
|
332
|
+
community_id: str,
|
|
333
333
|
cursor: Optional[str] = None,
|
|
334
334
|
count: Optional[int] = None,
|
|
335
335
|
extra_param: Optional[ParamType] = None,
|
|
336
336
|
) -> ResponseType:
|
|
337
|
-
param: ParamType = {"communityId":
|
|
337
|
+
param: ParamType = {"communityId": community_id}
|
|
338
338
|
if cursor is not None:
|
|
339
339
|
param["cursor"] = cursor
|
|
340
340
|
if count is not None:
|
{twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: twitter-openapi-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.40
|
|
4
4
|
Summary: Twitter OpenAPI
|
|
5
5
|
Home-page: https://github.com/fa0311/twitter_openapi_python
|
|
6
6
|
Author: fa0311
|
|
@@ -13,6 +13,7 @@ License-File: LICENSE.AGPL
|
|
|
13
13
|
Requires-Dist: twitter-openapi-python-generated==0.0.33
|
|
14
14
|
Requires-Dist: pydantic>=2.6
|
|
15
15
|
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
16
|
+
Requires-Dist: xclienttransaction<2.0.0,>=1.0.0
|
|
16
17
|
|
|
17
18
|
# twitter_openapi_python
|
|
18
19
|
|
|
@@ -6,7 +6,7 @@ twitter_openapi_python/api/__init__.py,sha256=-2hoS75Fp0KvCIWKYQFpvAl0pcbFyt7Be3
|
|
|
6
6
|
twitter_openapi_python/api/default_api.py,sha256=kq-8kdgs0yL60sbYQx6aMrp6Me3cNvSG2ThO62YPw78,2666
|
|
7
7
|
twitter_openapi_python/api/initial_state_api.py,sha256=eByv3zyjmDHL2bu_rA7_KNvh-oc36AsIUi78Dg1SYK0,2341
|
|
8
8
|
twitter_openapi_python/api/post_api.py,sha256=jZV_XfLVYG8R_cJeX7iwXUoaP-M7M364tnXX7LGoysI,6692
|
|
9
|
-
twitter_openapi_python/api/tweet_api.py,sha256=
|
|
9
|
+
twitter_openapi_python/api/tweet_api.py,sha256=P9Ii2xLpRARvilXLh4GWz9rGH-QqXGud0YzhkL8yH5c,12032
|
|
10
10
|
twitter_openapi_python/api/user_api.py,sha256=ffC5D8vX8XsWikE8eOsZD5zCb_y8br0VoMvC29KsB3g,2537
|
|
11
11
|
twitter_openapi_python/api/user_list_api.py,sha256=qK1hHL0pw5Fjhp3yl4hrww6hxCbBlkd0pHqJWjSX1EI,5673
|
|
12
12
|
twitter_openapi_python/api/users_api.py,sha256=25Z11AfWbUQBJR5FcdB4s1aS5DOIjUK3Lm1HWyaI_-4,1806
|
|
@@ -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.
|
|
24
|
-
twitter_openapi_python-0.0.
|
|
25
|
-
twitter_openapi_python-0.0.
|
|
26
|
-
twitter_openapi_python-0.0.
|
|
27
|
-
twitter_openapi_python-0.0.
|
|
28
|
-
twitter_openapi_python-0.0.
|
|
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,,
|
|
File without changes
|
{twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/LICENSE.AGPL
RENAMED
|
File without changes
|
|
File without changes
|
{twitter_openapi_python-0.0.38.dist-info → twitter_openapi_python-0.0.40.dist-info}/top_level.txt
RENAMED
|
File without changes
|