Skip to content

A JavaScript API client that is bound to a set of endpoints

Notifications You must be signed in to change notification settings

stupid-genius/APIClient

Repository files navigation

APIClient

An API client object that is bound to a set of endpoints.

Example

const client = require('./APIClient')(require('./registry'));

// the client methods come from the registry keys
try{
	const response = await client.someEndpoint({token: someToken});
}catch(e){
	throw new Error(e);
}

About

A JavaScript API client that is bound to a set of endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published