Skip to main content

Python SDK for Crunchable.IO

Project description

This package is a thin wrapper around the crunchable.io 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=['http://i.dailymail.co.uk/i/pix/2015/09/30/20/2CD2A9C700000578-3255251-Tom_and_Jerry_take_note_this_is_how_a_cat_and_mouse_can_get_on_a-a-87_1443640290328.jpg'], 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 details)

Uploaded Source

File details

Details for the file crunchable-0.3.tar.gz.

File metadata

  • Download URL: crunchable-0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for crunchable-0.3.tar.gz
Algorithm Hash digest
SHA256 8b43e786e717413da269df5d9a0289da82e19b783c7af1fabd190a88580c8c44
MD5 9e52fa70b5f7918e3288fbc9ed10342f
BLAKE2b-256 3a112f8187e82697ae7147eb6a2b959a120792967ab0e2c3862547b097261266

See more details on using hashes here.

Supported by

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