A Javascript Wrapper Library for Accessing Affinity.co api
var affinitycojs = require("affinitycojs");
var config = { apikey : 'myapikey' }; var affinityclient = new affinitycojs(config);
var mylists = await affinityclient.getAllLists();
getAllLists(); getList(listid); getListEntries(listid); getListEntry(entryid); getPerson(personid); searchPerson(term); getOrganization(orgid); searchOrganization(term); getOpportunity(opid); searchOpportunities(term);