API文档 V2/en
第148行: | 第148行: | ||
== Recommend API == | == Recommend API == | ||
=== Read API === | === Read API === | ||
+ | *[[2/suggestions/users/hot/en|suggestions/users/hot]] | ||
+ | *[[2/suggestions/users/may_interested/en|suggestions/users/may_interested]] | ||
+ | *[[2/suggestions/users/by_status/en|suggestions/users/by_status]] | ||
+ | *[[2/suggestions/statuses/hot/en|suggestions/statuses/hot]] | ||
+ | *[[2/suggestions/statuses/reorder/en|suggestions/statuses/reorder]] | ||
+ | *[[2/suggestions/statuses/reorder/ids/en|suggestions/statuses/reorder/ids]] | ||
+ | *[[2/suggestions/favorites/hot/en|suggestions/favorites/hot]] | ||
=== Write API === | === Write API === | ||
+ | *[[2/suggestions/users/not_interested/en|suggestions/users/not_interested]] | ||
+ | == Remind API == | ||
+ | === Read API === | ||
+ | *[[2/remind/unread_count/en|remind/unread_count]] | ||
− | *[[ | + | == Public Service API == |
+ | === Read API === | ||
+ | *[[2/common/code_to_location/en|common/code_to_location]] | ||
+ | *[[2/common/get_city/en|common/get_city]] | ||
+ | *[[2/common/get_province/en|common/get_province]] | ||
+ | *[[2/common/get_country/en|common/get_country]] | ||
+ | *[[2/common/get_timezone/en|common/get_timezone]] | ||
− | + | == Geo API == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
第208行: | 第189行: | ||
<span style="display:none"> *[[xAuth/en|xAuth]] about xAuth </span> | <span style="display:none"> *[[xAuth/en|xAuth]] about xAuth </span> | ||
− | |||
− | |||
− | |||
− | |||
− | + | ||
− | + | ||
− | + | ||
== Geo API== | == Geo API== |
2011年12月20日 (二) 15:40的版本
目录 |
Status API
Read API
- statuses/public_timeline Return the latest public weibos
- statuses/friends_timeline Return the authenticating user’s and his friends’ latest weibos
- statuses/home_timeline Return the authenticating user’s and his friends’ latest weibos
- statuses/friends_timeline/ids Return the authenticating user’s and his friends’ latest weibos'ID
- statuses/user_timeline Return the authenticating user’s latest weibos
- statuses/user_timeline/ids Return the authenticating user’s latest weibos'IDNew!
- statuses/repost_timeline Return the latest of repost weibos of a original weibo
- statuses/repost_timeline/ids Return the latest of repost weibos'ID of a original weiboNew!
- statuses/repost_by_me Return the latest repost weibos of authenticating user
- statuses/mentions Return the authenticating user’s mentions
- statuses/mentions/ids Return the authenticating user’s mentions'IDNew!
- statuses/bilateral_timeline Return the user's latest weibos that followed the authenticating user and is followed by the authenticating userNew!
- statuses/show Return the single weibo’s content by its ID
- statuses/querymid Return the mid by ID
- statuses/queryid Return the ID by mid
- statuses/hot/repost_daily
- statuses/hot/repost_weekly
- statuses/hot/comments_daily
- statuses/hot/comments_weekly
- statuses/count Return the comment counts and repost counts of a list of weibos
Write API
- statuses/repost Repost a weibo
- statuses/destroy Delete a weibo
- statuses/update Post a weibo
- statuses/upload Post a weibo with picture
- statuses/upload_url_text
- emotions Emotion Iinterface, return the emotion list
Comment API
Read API
Write API
User API
Read API
- users/show Return user profile by user IDNew!
- users/domain_show
- users/counts
Friendship API
Friend Read API
- friendships/friends
- friendships/friends/in_common
- friendships/friends/bilateral
- friendships/friends/bilateral/ids
- friendships/friends/ids
Follower Read API
Friendship Chain Read API
Friendship Read API
- friendships/show Return relationship of two users
Write API
- friendships/create Follow a user
- friendships/destroy Unfollow a user
- friendships/remark/update
Account API
Read API
- account/profile/basic
- account/profile/education
- account/profile/career
- account/get_privacy
- account/profile/school_list
- account/rate_limit_status
- account/get_uid
Write API
- account/end_session End the session of authenticating user
- account/profile/basic_update
- account/profile/edu_update
- account/profile/edu_destroy
- account/profile/car_update
- account/profile/car_destroy
- account/avatar/upload
- account/update_privacy
Favorite API
Read API
- favorites Return authenticating user’s favorites list
- favorites/ids
- favorites/show
- favorites/by_tags
- favorites/tags
- favorites/by_tags/ids
Write API
- favorites/create Add a weibo as favorite
- favorites/destroy Delete a weibo from favorite list of the authenticating user
- favorites/destroy_batch Delete a batch of weibos from favorite list
- favorites/tags/update
- favorites/tags/update_batch
- favorites/tags/destroy_batch
Trend API
Read API
- trends Returns trends of a user
- trends/is_follow
- trends/statuses Returns the weibos belong to the trends
- trends/hourly Hot trends by hour
- trends/daily Return trends by date
- trends/weekly Return trends by week
Write API
- trends/follow Follow a trends
- trends/destroy Unfollow a trends
Tag API
Read API
- tags Return the tag list by user ID
- tags/tags_batch
- tags/suggestions Return the recommended tags for the current user
Write API
- tags/create Create a tag for current user
- tags/destroy Delete a tag
- tags/destroy_batch Delete a batch of tags
Register API
Read API
Search API
Suggestion Search API
- search/suggestions/users
- search/suggestions/statuses
- search/suggestions/schools
- search/suggestions/companies
- search/suggestions/apps
- search/suggestions/at_users
Content Search API
User Search API
Recommend API
Read API
- suggestions/users/hot
- suggestions/users/may_interested
- suggestions/users/by_status
- suggestions/statuses/hot
- suggestions/statuses/reorder
- suggestions/statuses/reorder/ids
- suggestions/favorites/hot
Write API
Remind API
Read API
Public Service API
Read API
Geo API
OAuth API
- oauth about OAuth
- oauth/request_token Return unauthorized Request Token
- oauth/authorize Request Authorization Token.n
- oauth/access_token Get the Access Token by Request Token
Geo API
Geo API is not available for all developers. Any questions, please contact @地理信息开放平台, or email us at weibo_app@vip.sina.com for more info.
Geo search API
- location/route Search for car driving route
- location/bus Search for bus interchange info
Geo transformation API
- location/ip2xy Return the coordinated longitude and langtitude by IP address
- location/addr2xy Return the coordinated longitude and langtitude by the street address
- location/get_addr Return the street address of the specific longitude and langtitude
Test API
- help/test Test API
Appendix
Rest API Field Description
- status weibo content area
- user user profile area
- comment comment of a weibo
- direct_message direct message
- Province and city code table
- Metadata metadata New!
Geo field description
- location/citycode City code table
- location/citycode_bus City code table that has bus information
- location/category Category table