Skip to main content

Automatation SDK for python

Project description

Python SDK

Table of Contents

pip install dashblock

Getting started

from dashblock import Dashblock
import asyncio

async def main():
    # You can get an API Key on beta.dashblock.com
    dk = await Dashblock.connect(api_key=YOU_API_KEY)
    await dk.goto("https://www.google.com", timeout=5000)
    content = await dk.html()
    print(content)
    await dk.close()

if __name__ == "__main__":
    asyncio.get_event_loop().run_until_complete(main())

Methods

  • goto
  • html

(Coming soon)

  • click
  • input
  • collect

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

dashblock-0.0.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

dashblock-0.0.3-py3-none-any.whl (4.1 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