Skip to content

code-gio/keap-js-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keap-js-client

Note: This library is currently under development.

License: MIT

Description

keap-js-client allows you to interact with Infusionsoft's CRM REST API. It provides TypeScript interfaces and helper functions for a strongly-typed and easier way to work with the API.

Installation

npm install keap-js-client

Usage

First, you will need to set the API key:

  
    import { setApiKey } from 'keap-js-client';
setApiKey('Your-Keap-API-Key-Here');

Then, you can use the library to call functions:

  
    import { updateAccountProfile, AccountProfile } from 'keap-js-client';

const newAccountInfo: AccountProfile = {
// ... (populate with new data)
};

(async () => {
try {
const updatedProfile = await updateAccountProfile(newAccountInfo);
console.log(updatedProfile);
} catch (error) {
console.error(error);
}
})();

Interfaces

This library provides TypeScript interfaces like ContactAddress and AccountProfile to help you maintain strong typing.

Contact

If you have any questions or suggestions, please feel free to reach out.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published