COMPAT.md

March 27, 2017 ยท View on GitHub

Support for Official Endpoints

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

Official EndpointsAvailabilityNotes
Users
/users/selfYesapi.current_user(), web.user_info() with account userid
/users/user-idYesapi.user_info(), web.user_info()
/users/self/media/recentYesUse api.user_feed(), web.user_feed() with account userid
/users/user-id/media/recentYesapi.user_feed(), web.user_feed()
/users/self/media/likedYesapi.feed_liked()
Relationships
/users/self/followsYesUse api.user_following(), web.user_following() with account userid
/users/self/followed-byYesUse api.user_followers(), web.user_followers() with account userid
/users/self/requested-byYesapi.friendships_pending()
/users/user-id/relationshipYesapi.friendships_show(), api.friendships_create(), api.friendships_destroy(), web.friendships_create(), web.friendships_destroy()
Media
/media/media-idYesapi.media_info(), web.media_info()
/media/shortcode/shortcodeYesUse api.oembed() to get the media_id and then call api.media_info() with it
/media/searchNo
Comments
/media/media-id/commentsYesapi.media_comments(), api.media_n_comments(), api.post_comment(), web.media_comments(), web.post_comment()
/media/media-id/comments/comment-idYesapi.delete_comment(), web.delete_comment()
Likes
/media/media-id/likesYesapi.media_likers(), api.post_like(), api.delete_like(), web.post_like(), web.delete_like()
Tags
/tags/tag-nameYesapi.tag_info()
/tags/tag-name/media/recentYesapi.feed_tag()
/tags/searchYesapi.tag_search(), web.search()
Locations
/locations/location-idYesapi.location_info()
/locations/location-id/media/recentYesapi.feed_location()
/locations/searchYesapi.location_search(), web.search()
Embedding
/embedYesapi.oembed()
/p/shortcode/mediaNo