Skip to content
/ checkr Public

A Meteor wrapper packacge for the Checkr API via checkr-api

Notifications You must be signed in to change notification settings

skwasha/checkr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

skwasha:checkr

A Meteor wrapper for the Checkr API via checkr-api.

Dependencies

  • checkr-api - A node.js wrapper for the Checkr API

TL;DR;

skwasha:checkr exposes Checkr API v1 features to your Meteor application.

Installation

Install using Meteor:

meteor add skwasha:checkr

Quick Start

Put in your server's settings.json:

{
	"private": {
		"Checkr": {
			"apiKey": "<Your Checkr API Key>"
		}
	}
}

and start your server with:

meteor --settings settings.json

API

All of the API categories and methods described in the Checkr API Documentation are available in this wrapper ** server-side only **.

Examples

Callback, server-side/client-side

Note: The example is using the meteorhacks:async package to wrap calls.

Meteor.methods({
  'getCandidates': function getCandidates() {
    var candidates = Async.runSync(function(done) {
      Checkr.candidates.list(function(err, res) {
        done(null, res);
        console.log(res);
      });
    });

    return candidates.data;
  }
}

wrapAsync, server-side ONLY

// You can pass different parameters on each call

var result = Checkr.call( 'candidates', 'list', {
	start: 0,
	limit: 25
});

// Do something with your data!
console.info( '[Checkr][candidates][list]: %o', result );

Changelog

v0.1.0

  • Initial release

Copyright and license

Copyright © 2015 Sascha Linn

skwasha:checkr is licensed under the MIT license.

About

A Meteor wrapper packacge for the Checkr API via checkr-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published