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 py3

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