Skip to main content

Python SDK for Crunchable.IO

Project description

This package is a thin wrapper around the API

Example usage:

>>> from crunchable import Crunchable
>>> client = Crunchable(YOUR_API_KEY)
>>> request = client.request_multiple_choice(instruction="Is this image safe for kids?", choices=["Safe", "Not Safe!"], attachments_type="image", attachments=[''], min_choices=1, max_choices=1)
>>> response = client.wait_for_task(request['id'])
>>> print response['response']

For more information, refer to the Crunchable.IO API docs

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

crunchable-0.3.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page