guidestar

0.0.1 • Public • Published

JavaScript Guidestar API for node.js

A node.js module, which provides an object oriented wrapper for the Guidestar REST API.

Installation

Install with the node package manager npm:

 $ npm install guidestar

Example

Perform charity check

 GuidestarApi = require('guidestar').GuidestarApi;

 var guidestar = new GuidestarApi(config.user, config.password, '1');
 guidestar.check(ein, function(error, org) {
     console.log('509a Status: ' + org.foundation_509a_status);
 });

Currently there is no explicit login call necessary as each API call uses Basic Authentication to authenticate.

Options

GuidestarApi options:

  • user<string>: The username to log in with
  • password<string>: Keep it secret, keep it safe
  • Guidestar API Version<string>: Known to work with 1
  • verbose<bool>: Log some info to the console, usually for debugging

TODO

Readme

Keywords

none

Package Sidebar

Install

npm i guidestar

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • ca98am79