FullContact API client for Meteor
meteor install forwarder:fullcontact
To create a new client you simply need to construct the module with your FullContact API key:
var fullcontact = new FullContact(Meteor.settings.fullContact.apiKey);
Alternatively you can also use the provided createClient
method, is that's how
you roll.
var fullcontact = FullContact.createClient(Meteor.settings.fullContact.apiKey);
Unlike the Node.JS version, all methods can be called synchronous.
var data = fullcontact.person.email('foo@bar.com');
And ofcourse asynchronous.
var data = fullcontact.person.email('foo@bar.com', function (err, data) {
..
});
The module is released under the MIT license.