Npm module to retrieve automagically the content of your chatbot designs from botsociety.io
You can find more details about our API at https://botsociety.docs.apiary.io
What you can do
testing API auth
retrieve all conversations
retrieve a single conversation
retrieve all messages for a specific conversation
retrieve all variables for a specific conversation
- getMessageByConversation(conversationId, messageId)
- getMessage(messageId) - DEPRECATED
|userId||String||yes||This is your user ID. You can find it in your Botsociety Profile page|
|apiKey||String||yes||This is your API key. You can find it in your Botsociety Profile page|
|debug||Boolean||false||no||Set to `true`, some debugging messages will be displayed on console|
Get your user ID and API key
Sign up at botsociety.io (it's free!)
Go to the account page
Generate the API key
let Botsociety =let config =userId : 'YOUR-USER-ID'apiKey : 'YOUR-API-KEY'debug : falselet botsociety = config
You can get the conversation ID by visiting the building mode page, the conversation ID is in the right side.
You can use the unique id or the progressive id. You can get the progressive ID by visiting the building mode page (Build button), progressive ID is referenced as "ID".
See the LICENSE file for details.
We love pull requests from everyone. In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
At this point you're waiting on us. We like to at least comment on pull requests within three business days (and, typically, one business day). We may suggest some changes or improvements or alternatives.
Remember to write a good commit message.
NOTE: Be sure to merge the latest version before making a pull request!