Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (35 loc) · 7.26 KB

COMPAT.md

File metadata and controls

37 lines (35 loc) · 7.26 KB

Support for Official Endpoints

Note: api.*() methods refer to using the app api client while web.*() methods refer to the web api client

Official Endpoints Availability Notes
Users
/users/self Yes api.current_user(), web.user_info() with account userid
/users/user-id Yes api.user_info(), web.user_info()
/users/self/media/recent Yes Use api.user_feed(), web.user_feed() with account userid
/users/user-id/media/recent Yes api.user_feed(), web.user_feed()
/users/self/media/liked Yes api.feed_liked()
Relationships
/users/self/follows Yes Use api.user_following(), web.user_following() with account userid
/users/self/followed-by Yes Use api.user_followers(), web.user_followers() with account userid
/users/self/requested-by Yes api.friendships_pending()
/users/user-id/relationship Yes api.friendships_show(), api.friendships_create(), api.friendships_destroy(), web.friendships_create(), web.friendships_destroy()
Media
/media/media-id Yes api.media_info(), web.media_info()
/media/shortcode/shortcode Yes Use api.oembed() to get the media_id and then call api.media_info() with it
/media/search No
Comments
/media/media-id/comments Yes api.media_comments(), api.media_n_comments(), api.post_comment(), web.media_comments(), web.post_comment()
/media/media-id/comments/comment-id Yes api.delete_comment(), web.delete_comment()
Likes
/media/media-id/likes Yes api.media_likers(), api.post_like(), api.delete_like(), web.post_like(), web.delete_like()
Tags
/tags/tag-name Yes api.tag_info()
/tags/tag-name/media/recent Yes api.feed_tag()
/tags/search Yes api.tag_search(), web.search()
Locations
/locations/location-id Yes api.location_info()
/locations/location-id/media/recent Yes api.feed_location()
/locations/search Yes api.location_search(), web.search()
Embedding
/embed Yes api.oembed()
/p/shortcode/media No