
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@saysimple/node-sdk
Advanced tools
The official SaySimple Node SDK. Want to use our awesome customer conversations platform? Please visit: https://saysimple.com
We’re Saysimple — the Messaging Platform Pioneer — and we’re on a mission to change customer service centers into commercial profit centers. We’re turning social messaging channels that are used for personal communication into powerful communication channels for any kind of business, providing conversational excellence with unrivaled ease.
And this, is our SDK for JavaScript for you.
For NPM
npm i @saysimple/node-sdk
For Yarn
yarn add @saysimple/node-sdk
The SDK is a one-on-one translation of the native REST API, which can be found here.
You can get a more in-depth knowledge of the API and the possible parameters if
you read the API documentation.
Initialization
const SaySimpleClient = require("@saysimple/node-sdk");
const Intelligence = SaySimpleClient.Intelligence.V1("[API TOKEN]", "[SECRET KEY]");
// Or:
const Intelligence = SaySimpleClient.Intelligence.Latest("[API TOKEN]", "[SECRET KEY]");
If you omit a secret key, the SDK will assume you put a valid access token directly on the first parameter.
Functions
To get all messages summed you can run the following code
const SaySimpleClient = require("@saysimple/node-sdk");
const Intelligence = SaySimpleClient.Intelligence.V1("[API TOKEN]", "[SECRET KEY]");
(async () => {
const messagesSummed = await Intelligence.getMessagesSummed({
agent: "agent@teddies.com"
});
console.log(messagesSummed);
})();
That's it! 🚀
Will be implemented as soon as possible.
For now please refer to the API documentation.
We are really keen to know what you build with SaySimple, so please do let us know when your project is up-and-running!
This package exports type declarations, thus it can be used in TypeScript projects without requiring extra dependencies.
We tried to make the API and SDK as easy as possible, but maybe we didn't succeed on every aspect of it. Please don't hesitate to contact us if something is not working or is unclear.
You can reach us at: support@saysimple.nl.
If you encounter a bug in this software we'd love to hear about it. So we can work on improving our SDK, and your developer experience.
Please be sure you've searched for the same problem in the tickets opened already. Also, it would be helpful if you can provide as many details as possible. Like the versions of the SDK and Node.js and how your (environment) set up is.
This software is distributed under the Apache License 2.0 license. See LICENSE.txt.
Copyright 2019 - 2021 Just Internet B.V. or its affiliates. All Rights Reserved.
FAQs
The official SaySimple Node SDK. Want to use our awesome customer conversations platform? Please visit: https://saysimple.com
The npm package @saysimple/node-sdk receives a total of 37 weekly downloads. As such, @saysimple/node-sdk popularity was classified as not popular.
We found that @saysimple/node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.