Skip to main content

Python client for HQAPI.com

Project description

Python client for HQAPI.com that allows you to interact with the HQAPI service easily. Get your API tokens at https://hqapi.com/

Features

  • Simple and intuitive Python interface

  • Send screenshots and capture data

  • Works with Python 3.8+

Installation

You can install hqapi-client via pip:

pip install hqapi-client

Usage

Here is a basic example of how to use the client:

from hqapi.screenshot import ScreenshotClient

# Set your token, get yours at https://hqapi.com/
SCREENSHOT_API_TOKEN="--put--your--token--here--"

client = ScreenshotClient(token=SCREENSHOT_API_TOKEN)
image_data = client.create(url="https://hqapi.com/")

# Save to disk
with open("screenshot.png", "wb") as f:
    f.write(image_data)

Dependencies

  • requests>=2.30.0

License

This project is licensed under the MIT License.

Contact

Author: HQAPI

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

hqapi_client-1.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hqapi_client-1.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file hqapi_client-1.1.1.tar.gz.

File metadata

  • Download URL: hqapi_client-1.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hqapi_client-1.1.1.tar.gz
Algorithm Hash digest
SHA256 127f09a66b69438ef5117876040d24b3d69ba709f9b0ca8368bf5caecee49afb
MD5 93604146bf6489c45d4a67a5a465b498
BLAKE2b-256 42d83bdce1e295bcd54f0609e8df78e129fa28ab9de4304a957e4daeca67c1e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for hqapi_client-1.1.1.tar.gz:

Publisher: python-publish.yml on hqapi/python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hqapi_client-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: hqapi_client-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hqapi_client-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69a137b2e738d4a8e61c5ed55283f4cc07c27ed65fbb8804802fb761ee8c8e53
MD5 398221a325d612de240c2ac75bebbe7d
BLAKE2b-256 35abb10dd6489304e03b9849d9d6c3593f3852d6841898407a7ce4e270a893cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for hqapi_client-1.1.1-py3-none-any.whl:

Publisher: python-publish.yml on hqapi/python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page