Skip to main content

Automation Library

Project description

Bot Studio is a python library for runing bots built with DataKund Studio. You can also train bots with DataKund to automate repetitive work without doing any programming. It currently runs only on windows.

Installation

pip install bot-studio

Import Bot Studio

from bot_studio import *

Create Object

Create object first to open browser.

dk=bot_studio.new()
or
dk=bot_studio.new(argument1=value,argument2=value,..)

Browser Options

Option Default Value Description
headless False Can set it to True if wants headless
proxy No proxy Pass proxy value e.g 98.0.2.5:4000
profile_path creates temporary profile Pass profile path e.g C:\\Users\\username\\AppData\\Local\\Google\\Chrome\\User Data\\
user_agent No user agent Pass user agent e.g python 2.7", "platform":"Windows
download_folder Downloads in default folder If want to set download directory to custom e.g E:files\\

Run a bot

dk.amazon_login(email='put your email here', login_url='https://www.amazon.com/gp/sign-in.html', password='put password here')

Make Bot using Studio

To create your own bot follow below steps:-

  • Run command "datakund" in command prompt
  • A browser will get opened containing DK extension
  • To open Extension press Alt+O
  • Type the bot name e.g "google_search" and click on "Make New Bot"
  • Click on Record and do actions like opening link, typing etc.
  • Go back and then Run bot

NOTE

If you want to call your bots in your code, then consider bot names which do not contain space, special character etc.

Access Your bot through Code

To access your code:-

  • Go to Code Section in extension
  • Go to python and copy the code
  • Now run that code, your bot will run

Make your bots public

To share your bots with public, so that anyone can run them follow these steps:-

  • Go to your bot in Extension
  • Go to More section and then Publish
  • Write title, desc and image and click on Publish
  • Here you go, now anyone can run this bot

Run public bot

Here we will run the bot we did made above

google_search(keyword="shoes")

Send Feedback to Developers

bot_studio.send_feedback(feedback="Need help with this ......")

Contact Us

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

bot_studio-1.4.0.tar.gz (55.4 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page