This Python library is a private API wrapper that provides programmatic access to Instagram features by communicating with internal mobile endpoints. It functions as a social media automation toolkit for managing profiles, publishing media, and interacting with the social graph.
The library uses a reverse-engineered API to mimic the communication patterns and request headers of mobile applications. It incorporates a session manager that persists authentication cookies and client metadata to maintain active logins and reduce the frequency of authentication handshakes.
Its capabilities cover media content publishing for posts and stories, as well as the extraction of social feeds and profile data. The toolset includes utilities for managing social connections, automating likes and comments, and retrieving location-based content. It also provides controls for account management and story privacy settings.