/instauto

Simple to use wrapper around the private Instagram API, written in Python.

Primary LanguagePythonMIT LicenseMIT

Instauto

tests GitHub stars PyPI license PyPI download month coverage

Instauto is a Python package for automating various parts of Instagram, making use of the private Instagram API.

Instauto is currently fairly limited, because it is under development. Progress can be tracked here. Instauto in it's current state, should not be used for production systems.

For feature requests, ideas, comments, etc., please open an issue.

Installation

The package is still under development, but an alpha version has been published to PyPy. The package can be installed with the following pip command: pip install instauto

Usage

Here is a simple example that extracts all followers from an Instagram account:

from instauto.api.client import ApiClient
from instauto.api.actions import post as ps

if __name__ == '__main__':
    client = ApiClient("your_username", "your_password")
    client.login()
    
    like = ps.Like(
        media_id="1734612737423614055_6400760974"
    )
    client.post_like(like)

Other examples of how to use the package, can be found in the examples directory.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT