Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crunchable

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crunchable

A thin wrapper around the crunchable human-intelligence api

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Synopsis

Crunchable is an API for executing tasks that require Intelligence (ranging from OCR/speech-to-text through Text Classification and even Web Scraping). Anything a human can do, crunchable does better (with a unique blend of realtime-available humans and ML algorithms).

Installation

Grab your API Token from https://crunchable.io/ and then simply: npm install crunchable

Code Example

const crunchable = require("crunchable")(
  "test_e53bbf19fdd077eda1cd933a54ebe987" // replace with your own API Token
);

crunchable.requestMultipleChoice({
  instruction: "Does the image contain violent content?",
  attachments_type: "image",
  attachments: [ "http://i.imgur.com/qRWH5.jpg" ],
  choices_type: "text",
  choices: [ "no violence", "mild violence", "intense violence" ]
}).then(function (request) {
  console.log('request', request.id, 'queued for execution');
  crunchable.waitForRequest(request.id).then(function (completed_request) {
    console.log('got response:', completed_request.response);
  });
});

API Reference

For more information, code examples, and a complete API refrence, visit:

https://crunchable.io/docs/

Help & Support

For help or support, either write to us at the crunchable.io website :

https://crunchable.io/contact.html

or email us at support@crunchable.io

Keywords

FAQs

Package last updated on 26 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc