Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
smartsheet
Advanced tools
This is a client SDK for connecting to the Smartsheet API from Node.js applications.
The SDK is compatible with actively supported Node.js versions 14.x or later.
To install this SDK run the following command in a terminal window:
npm install smartsheet
To call the API you must have an access token. You can generate an access token in Smartsheet UI under Account > Personal Settings > API Access.
The following is a brief sample using promises that shows you how to:
// Initialize the client
var client = require('smartsheet');
var smartsheet = client.createClient({
accessToken: '<access_token>', // Replace <access_token> with your API token
logLevel: 'info'
});
// The `smartsheet` variable now contains access to all of the APIs
// Set queryParameters for `include` and pagination
var options = {
queryParameters: {
include: "attachments",
includeAll: true
}
};
// List all sheets
smartsheet.sheets.listSheets(options)
.then(function (result) {
var sheetId = result.data[0].id; // Choose the first sheet
// Load one sheet
smartsheet.sheets.getSheet({id: sheetId})
.then(function(sheetInfo) {
console.log(sheetInfo);
})
.catch(function(error) {
console.log(error);
});
})
.catch(function(error) {
console.log(error);
});
See the node-read-write-sheet project for a code example that shows how to call methods to read and write to a sheet using this SDK.
For details about more advanced features, see Advanced Topics.
Review the Developer Program Agreement.
We would like to thank the following people for their contributions to this project:
[4.0.2] - 2023-10-23
mime
to generate Content-Type
based on file extension.FAQs
Smartsheet JavaScript client SDK
The npm package smartsheet receives a total of 12,613 weekly downloads. As such, smartsheet popularity was classified as popular.
We found that smartsheet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.