https://github.com/ruffrey/eli
Unofficial Eligible API library for Node.js
https://github.com/ruffrey/eli
Last synced: 4 months ago
JSON representation
Unofficial Eligible API library for Node.js
- Host: GitHub
- URL: https://github.com/ruffrey/eli
- Owner: ruffrey
- License: mit
- Created: 2013-07-27T15:58:17.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-27T17:33:14.000Z (almost 13 years ago)
- Last Synced: 2025-10-08T01:25:53.099Z (8 months ago)
- Homepage:
- Size: 645 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## eli.js for Node
This is an unofficial library for [Eligible API](https://www.eligibleapi.com/), written in Javascript for Node.js.
There is an official library in the works for [client side Javascript](https://github.com/EligibleAPI/tools/wiki/Eligible.js).
## Please Note
Very much in development and NOT ready for production use. Let's work together to get it battle hardened.
## Eligible API Version
[V 1.1](https://www.eligibleapi.com/rest-api-v1-1/coverage-all)
## Usage
```npm install eli```
```javascript
var Eli = require('eli');
// for production mode
var eli = new Eli(YourApiKey);
// for test mode
var eli = new Eli(YourApiKey, true);
eli
.coverage({
api_key: "ksjfas9320",
// lots more data, see official documentation!
}, function(err, body) {
if(err)
{
console.log(err);
return;
}
console.log(body);
});
```
## Methods
- ```coverage```
- ```demographics```
- ```authorization```
- ```claim```
- ```claimStatus```
## Official stuff
- [Eligible api docs](https://www.eligibleapi.com/rest-api-v1-1/coverage-all)
- [member ids and various values for testing](https://github.com/EligibleAPI/tools/wiki/Testing)
- [official repositories](https://github.com/EligibleAPI)