From 54a8a14e24caab5db664ee45448c7fdbb14cd19a Mon Sep 17 00:00:00 2001 From: ikaros Date: Mon, 23 May 2022 13:21:23 +0800 Subject: [PATCH] docs(changelog): :memo: update changelog --- CHANGELOG.md | 7 +++++++ docs/docs/usage/tweets/timelines.md | 12 +++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e07d056..368340e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [0.7.7](https://github.com/sns-sdks/python-twitter/v0.7.7) (2021-05-23) + +### Features + +- New apis for get user timelines by reverse chronological. + + ## [0.7.6](https://github.com/sns-sdks/python-twitter/v0.7.6) (2021-04-07) ### Features diff --git a/docs/docs/usage/tweets/timelines.md b/docs/docs/usage/tweets/timelines.md index 646f239..255765f 100644 --- a/docs/docs/usage/tweets/timelines.md +++ b/docs/docs/usage/tweets/timelines.md @@ -1,20 +1,26 @@ The user Tweet timeline endpoints provides access to Tweets published by a specific Twitter account. -Get user timelines +## User Tweet timeline + +The user Tweet timeline endpoint provides access to Tweets published by a specific Twitter account. ```python api.get_timelines(user_id="2244994945") # Response(data=[Tweet(id=1364275610764201984, text=If you're newly approved for the Academic...), Tweet(id=1362876655061073928, text=From our living rooms to yours 🐱‍💻🛋️Our...), Tweet(id=1362439338978467841, text=“To quote my creator Jerome Gangneux, I always...), Tweet(id=1362439338169016324, text=“In the 20th century, managers managed humans,...), Tweet(id=1362439336910675970, text=Meet one of the useful Twitter bots out there:...), Tweet(id=1359912509940011010, text=Valentine’s Day is approaching! 💙 Over the...), Tweet(id=1359554366051504129, text=Go ahead, follow another puppy account. We...), Tweet(id=1357371424487268354, text=Learn how academics can get historical Tweets...), Tweet(id=1356991771553583106, text=Who knew an API could be delicious?...), Tweet(id=1354215875998437376, text=RT @TwitterOSS: Today we’re happy to share...)]) ``` -Get collection of the most recent Tweets and Retweets posted by you and users you follow +## Reverse chronological home timeline + +This endpoint enables you to retrieve the most recent Tweets, Retweets, and replies posted by the authenticated user and the accounts they follow. ```python my_api.get_timelines_reverse_chronological(user_id="2244994945") # Response(data=[Tweet(id=1524796546306478083, text=Today marks the launch of Devs in the Details...), Tweet(id=1524468552404668416, text=📢 Join @jessicagarson @alanbenlee and @i_am_daniele tomorrow...)) ``` -Get tweets which mention target user +## User mention timeline + +The user mention timeline endpoint allows you to request Tweets mentioning a specific Twitter user. ```python api.get_mentions(user_id="2244994945")