
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@sendinblue/client
Advanced tools
SendinBlue's API v3 TypeScript-Node Library
SendinBlue's API exposes the entire SendinBlue features via a standardized programmatic interface. Please refer to the full documentation to learn more.
This is the wrapper for the API. It implements all the features of the API v3. It supports promises.
SendinBlue's API matches the OpenAPI v2 definition. The specification can be downloaded here.
The following recommended installation requires npm. If you are unfamiliar with npm, see the npm docs.
Then install it via:
npm install @sendinblue/client --save
# or
yarn add @sendinblue/client
Once you have installed the node module in your project, you can execute the following sample code JS code :
import * as SibApiV3Sdk from '@sendinblue/client'
const apiInstance = new SibApiV3Sdk.AccountApi()
// Configure API key authorization: apiKey
apiInstance.setApiKey(SibApiV3Sdk.AccountApiApiKeys.apiKey, 'YOUR API KEY')
apiInstance.getAccount().then(
function (data) {
console.log('API called successfully. Returned data: ', data.body)
},
function (error) {
console.error(error)
}
)
import * as SibApiV3Sdk from '@sendinblue/client'
const apiInstance = new SibApiV3Sdk.ContactsApi()
// Configure API key authorization: apiKey
apiInstance.setApiKey(SibApiV3Sdk.ContactsApiApiKeys.apiKey, 'YOUR API KEY')
const limit = 10 // Number | Number of documents per page
const offset = 0 // Number | Index of the first document of the page
apiInstance.getLists(limit, offset).then(
function (data) {
console.log('API called successfully. Returned data: ', data.body)
apiInstance.getAttributes().then(
function (data) {
console.log('API called successfully. Returned data: ', data.body)
},
function (error) {
console.error(error)
}
)
},
function (error) {
console.error(error)
}
)
For more examples, refer the Endpoints Guide
FAQs
NodeJS client for Sendinblue V3 api
The npm package @sendinblue/client receives a total of 7,648 weekly downloads. As such, @sendinblue/client popularity was classified as popular.
We found that @sendinblue/client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.