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
Release history Release notifications | RSS feed
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.22.tar.gz
(43.4 kB
view hashes)
Built Distribution
Close
Hashes for instabotnet-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a7264e63de027d421ceba374f9cd5d48ef5bee6e15999adff2ff8e097ffcab |
|
MD5 | c6194388f02d2a5e31791731032f2aec |
|
BLAKE2b-256 | 7baf98ef4a6a593f5192a4c5015739c1a51928a7c75a3e25b1fb3d74f5dec2df |