API:Watchlist feed/zh

GET request that returns a feed.

示例
If no user is specified via the  parameter, this API defaults to showing you your own watchlist feed -- or, at least, the watchlist feed of the account you are currently logged in as.

Sample code
get_my_watchlist_feed.py

Parameter history

 * v1.27: Introduced
 * v1.25: Introduced ,
 * v1.24: Deprecated
 * v1.22: Introduced
 * v1.19: Introduced
 * v1.17: Introduced
 * v1.16: Introduced ,
 * v1.12: Introduced
 * v1.11: Introduced

Additional notes

 * This API also allows you to access another user's watchlist feed, via their private watchlist token. You can view or reset your own watchlist token by visiting Special:Preferences, under "".
 * The  parameter only accepts one value; it is not possible to exclude multiple users in a single query.
 * This API does not return JSON -- the response will always be an xml object representing the feed, regardless of whether you add  to your query.
 * The feed only displays the most recently modified pages. You will not be able to view pages modified more than 72 hours ago via the API.
 * Although ordinary accounts are granted the right to view their own watchlist by default, bots work differently. You must manually grant the bot this right yourself. You can do so by checking off the "" right on Special:BotPasswords.