Skip to main content

Instagram readable yaml rpc api for easy instagram scheduling and promotion

Project description

instagram-bot

Write readable declarative yaml files to control your botnet

Shell usage

The main module works on yaml script like these:

name:                     test_comment

bots:
    -
        username:         username
        password:         password

actions:
    -
        name: comment on 10 posts from @kimkardashian
        nodes:
            - kimkardashian
        edges:
            - user_feed:
                amount: 10
            - comment:
                max:      1
                comments:
                    - ["hello {author}!!!"] 
                    - ["come stai?", "come va?"]
                    - ["url works too! http://instagram.com"]

To execute the above test_comment.yaml run:

python3 -m instabotnet test_comment.yaml

Python API usage

To use inside python modules:

from instabotnet import execute

with open('test_comment.yaml') as file:
    template = yaml.loads(file.read())

execute(template)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instabotnet-0.0.34.tar.gz (42.7 kB view hashes)

Uploaded Source

Built Distribution

instabotnet-0.0.34-py3-none-any.whl (66.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page