JSPM

  • Created
  • Published
  • Downloads 400
  • Score
    100M100P100Q87285F
  • License MIT

A wrapper for the SauceNAO API.

Package Exports

  • sagiri

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sagiri) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Sagiri

A simple, lightweight and actually good JS wrapper for the SauceNAO API.

Installation

npm install sagiri

Usage

Example:

const Sagiri = require('sagiri');
const handler = new Sagiri('TOKEN'); // or new Sagiri('TOKEN', number of results)

handler.getSauce('http://i.imgur.com/5yFTeRV.png').then(res => {
    console.log(res);
});

API

Documentation for the module is available here.

Contributing

All contributions are accepted! If you think you can bring uploading support, or make the lib perform better, make a PR and start coding!

Copyright 2017 (c) ClarityMoe. This Library is from the Clara base project.

Sagiri is a character from Eromanga-sensei. All rights reserved to her authors.

Sponsor