keap-js-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i keap-js-client

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

17.4 kB

Total Files

29

Last publish

Collaborators

  • code-gio