Use our all-in-one solution for your business. No matter if booking calendar, travel modules or files. Flowcore allows you to manage your entire online business in one system.
The preferred way to install the flowcore-API for Node.js is to use the npm package manager for Node.js. Simply type the following into a terminal window:
npm install @tourware/flowcore-sdk-js --saveInitialize with your credentials:
var api = require('@tourware/flowcore-sdk-js')({
url: 'https://app.flowcore.cloud',
auth: {
key: 'your-key-provided-by-flowcore-cloud',
secret: 'your-secret-provided-by-flowcore-cloud'
}
});For staging, use https://app-staging.flowcore.cloud.
Do request to a specific endpoint:
api.request('/api/travels/' + travelsId).then(function (data) {
// do sth. with your data
});