pystagram.graph_api.endpoints.container package

Submodules

pystagram.graph_api.endpoints.container.container module

class pystagram.graph_api.endpoints.container.container.Container(graph_api: GraphInstagramBaseApi)

Bases: object

The Container node of the Instagram Graph API.

Parameters:

graph_api (InstagramGraphApi) – An instance of the InstagramGraphApi class.

create(*args, **kwargs)

[Not Supported] Create an Instagram container. :raises InstagramApiEndpointError: Container creation is only supported by the User Media node

delete(*args, **kwargs)

[Not Supported] Delete an Instagram comment. :raises InstagramApiNotSupportedError: Container deletion is not supported by the Instagram Graph API.

get(container_id: int, fields: List[str | ContainerFields] | None = None, access_token: str | None = None)

Get fields and edges on an Instagram container.

Parameters:
Returns:

The response from the GET /{container-id} endpoint.

Return type:

pystagram.helpers.api_client.api_response.InstagramApiResponse

update(*args, **kwargs)

[Not Supported] Update an Instagram comment. :raises InstagramApiNotSupportedError: Container update is not supported by the Instagram Graph API.

Module contents