tweetapi 2.0.0__tar.gz → 2.1.0__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.
Files changed (23) hide show
  1. {tweetapi-2.0.0 → tweetapi-2.1.0}/PKG-INFO +1 -1
  2. {tweetapi-2.0.0 → tweetapi-2.1.0}/pyproject.toml +1 -1
  3. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/__init__.py +1 -1
  4. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/types.py +9 -0
  5. {tweetapi-2.0.0 → tweetapi-2.1.0}/.gitignore +0 -0
  6. {tweetapi-2.0.0 → tweetapi-2.1.0}/README.md +0 -0
  7. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/client.py +0 -0
  8. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/errors.py +0 -0
  9. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/pagination.py +0 -0
  10. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/py.typed +0 -0
  11. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/__init__.py +0 -0
  12. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/auth.py +0 -0
  13. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/community.py +0 -0
  14. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/explore.py +0 -0
  15. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/interaction.py +0 -0
  16. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/list_.py +0 -0
  17. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/post.py +0 -0
  18. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/profile.py +0 -0
  19. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/space.py +0 -0
  20. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/tweet.py +0 -0
  21. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/unencrypted_dm.py +0 -0
  22. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/user.py +0 -0
  23. {tweetapi-2.0.0 → tweetapi-2.1.0}/tweetapi/resources/xchat.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tweetapi
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary: Official Python SDK for TweetAPI — Twitter/X Data API for developers and researchers
5
5
  Project-URL: Homepage, https://tweetapi.com?utm_source=pypi&utm_medium=readme&utm_campaign=python-sdk
6
6
  Project-URL: Documentation, https://tweetapi.com/docs?utm_source=pypi&utm_medium=readme&utm_campaign=python-sdk
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tweetapi"
7
- version = "2.0.0"
7
+ version = "2.1.0"
8
8
  description = "Official Python SDK for TweetAPI — Twitter/X Data API for developers and researchers"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -37,4 +37,4 @@ __all__ = [
37
37
  "paginate_pages",
38
38
  ]
39
39
 
40
- __version__ = "2.0.0"
40
+ __version__ = "2.1.0"
@@ -284,6 +284,14 @@ class Place(TypedDict, total=False):
284
284
  # ─── Tweet ───────────────────────────────────────────────────────────────────
285
285
 
286
286
 
287
+ class Article(TypedDict):
288
+ id: str
289
+ title: str
290
+ text: str
291
+ previewText: str
292
+ coverImageUrl: Optional[str]
293
+
294
+
287
295
  class ReplyTo(TypedDict):
288
296
  tweetId: str
289
297
  userId: str
@@ -357,6 +365,7 @@ class Tweet(TypedDict, total=False):
357
365
  media: Optional[list[Media]]
358
366
  poll: Optional[Poll]
359
367
  card: Optional[Card]
368
+ article: Optional[Article]
360
369
  hashtags: list[str]
361
370
  mentions: list[Mention]
362
371
  urls: list[str]
File without changes
File without changes
File without changes
File without changes
File without changes