pystagram.basic_display_api package

Submodules

pystagram.basic_display_api.basic_display_api module

Instagram Basic Display API The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos

in their Instagram accounts.The API can be used to access any type of Instagram account but only provides read-access to basic data. If you are building an app that will allow Instagram Businesses or Creators to publish media, moderate comments, identify @mentioned and hashtagged media, or get data about other Instagram users, use the Instagram Graph API instead.

class pystagram.basic_display_api.basic_display_api.PystagramBasicDisplayApi(app_id: int, app_secret: str, access_token: str | None = None, base_uri: str | None = 'graph.instagram.com', api_version: str | None = 'v18.0')

Bases: PystagramBaseApiClient

ALTERNATE_URL: str = 'api.instagram.com'

An alternate base URI of the Instagram Basic Display API.

API_VERSION: str = 'v18.0'

The version of the Instagram Basic Display API.

BASE_URI: str = 'graph.instagram.com'

The base URI of the Instagram Basic Display API.

MAX_PAGES: int = None

The maximum number of pages to get from paginated endpoints, defaults to None (no limit).

property access_token

The AccessToken node of the Instagram Basic Display API. See the pystagram.basic_display_api.endpoints.media.media.Media class for additional details.

property media

The Media node of the Instagram Basic Display API. See the pystagram.basic_display_api.endpoints.media.media.Media class for additional details.

property oauth

The OAuth node of the Instagram Basic Display API. See the pystagram.basic_display_api.endpoints.oauth.oauth.Oauth class for additional details.

property refresh_access_token

The RefreshAccessToken node of the Instagram Basic Display API. See the pystagram.basic_display_api.endpoints.refresh_access_token.refresh_access_token.RefreshAccessToken class for additional details.

property user

The User node of the Instagram Basic Display API. See the pystagram.basic_display_api.endpoints.user.user.User class for additional details.

Module contents