# InstaBot
InstaBot is a Python library that provides some automation for simple tasks on Instagram like following and sending dms on Instagram.
## Installation
You can install the library from the [GitHub repository](https://github.com/Julius-W/InstaBot) or by using pip:
```
pip install InstaBotWeb
```
## Usage
To use the InstaBot class, you can create an instance of the class by passing in your Instagram username and password as parameters:
```py
from instabot import InstaBot
bot = InstaBot('your_username', 'your_password')
```
To login to Instagram with the given username and password use
```py
bot.login()
```
Once you have created an instance of the InstaBot class, you can use its methods to automate some simple tasks on Instagram.
## Functions
Search for a username by using
```py
bot.search(query)
```
After that you can peform various actions on a user profile:
```py
bot.follow()
bot.send_dm(message)
bot.like_picture()
```
It is also possible to get data from the profile:
```py
followers = bot.get_followers()
for follower in followers:
print(follower)
```
## Future functionality:
- [x] Get follower and following counter
- [x] Get post counter
- [ ] Like different images than just the first image
- [x] Allow commenting on posts
- [ ] Download images
- [x] Send direct messages to user
## LICENSE
InstaBot is licensed under the GNU General Public License v2.0.
Raw data
{
"_id": null,
"home_page": "https://github.com/Julius-W/InstaBot",
"name": "InstaBotWeb",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "python,Instagram,bot,automation",
"author": "Julius-W",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/e5/22/f56fcb5b807f2618a865f04c434bd123d884f7f264ce80c489284a02009d/InstaBotWeb-0.2.3.tar.gz",
"platform": null,
"description": "\r\n# InstaBot\r\nInstaBot is a Python library that provides some automation for simple tasks on Instagram like following and sending dms on Instagram.\r\n\r\n## Installation\r\n\r\nYou can install the library from the [GitHub repository](https://github.com/Julius-W/InstaBot) or by using pip:\r\n\r\n```\r\npip install InstaBotWeb\r\n```\r\n\r\n## Usage\r\n\r\nTo use the InstaBot class, you can create an instance of the class by passing in your Instagram username and password as parameters:\r\n\r\n```py\r\nfrom instabot import InstaBot\r\nbot = InstaBot('your_username', 'your_password')\r\n```\r\n\r\nTo login to Instagram with the given username and password use\r\n\r\n```py\r\nbot.login()\r\n```\r\n\r\nOnce you have created an instance of the InstaBot class, you can use its methods to automate some simple tasks on Instagram.\r\n\r\n## Functions\r\n\r\nSearch for a username by using\r\n```py\r\nbot.search(query)\r\n```\r\n\r\nAfter that you can peform various actions on a user profile:\r\n\r\n```py\r\nbot.follow()\r\nbot.send_dm(message)\r\nbot.like_picture()\r\n```\r\n\r\nIt is also possible to get data from the profile:\r\n\r\n```py\r\nfollowers = bot.get_followers()\r\nfor follower in followers:\r\n print(follower)\r\n```\r\n\r\n\r\n## Future functionality:\r\n- [x] Get follower and following counter\r\n- [x] Get post counter\r\n- [ ] Like different images than just the first image\r\n- [x] Allow commenting on posts\r\n- [ ] Download images\r\n- [x] Send direct messages to user\r\n\r\n## LICENSE\r\nInstaBot is licensed under the GNU General Public License v2.0.\r\n",
"bugtrack_url": null,
"license": "GPL-2.0",
"summary": "A simple library for managing an Instagram bot using selenium.",
"version": "0.2.3",
"split_keywords": [
"python",
"instagram",
"bot",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4b5d727d196cb5b6cfbca41acf3b784bbed70d9001785423cb105d9d31522c70",
"md5": "4c77bd4fb728143134c10706960d708f",
"sha256": "140249bf4ba7b6a2ed357c58a5cfc97d435e2483b8ff94caea61536d364a289a"
},
"downloads": -1,
"filename": "InstaBotWeb-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c77bd4fb728143134c10706960d708f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 8917,
"upload_time": "2023-03-11T22:55:09",
"upload_time_iso_8601": "2023-03-11T22:55:09.078211Z",
"url": "https://files.pythonhosted.org/packages/4b/5d/727d196cb5b6cfbca41acf3b784bbed70d9001785423cb105d9d31522c70/InstaBotWeb-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e522f56fcb5b807f2618a865f04c434bd123d884f7f264ce80c489284a02009d",
"md5": "468a3db36930a531d2a99bbf0537eb5b",
"sha256": "6961c6c0eeb09a8f1a93a1c5dd695e88cd1849384938a15d3accb7043b96daac"
},
"downloads": -1,
"filename": "InstaBotWeb-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "468a3db36930a531d2a99bbf0537eb5b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 9079,
"upload_time": "2023-03-11T22:55:11",
"upload_time_iso_8601": "2023-03-11T22:55:11.119606Z",
"url": "https://files.pythonhosted.org/packages/e5/22/f56fcb5b807f2618a865f04c434bd123d884f7f264ce80c489284a02009d/InstaBotWeb-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-11 22:55:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Julius-W",
"github_project": "InstaBot",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "instabotweb"
}