Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
cc-api
Advanced tools
Readme
This package is a library that is used to make http requests to the Finance API.
npm install cc-api
git clone https://bitbucket.org/FinoCodeLab/cc-api.git
var api = new(require('cc-api'))({url: '', debug_mode: false});
var ccApi = require('cc-api');
var api = new ccApi({key:'', url: '', debug_mode: false});
let url = '/my/route';
let data: {
...
};
api.get(url, data).then(res => {
console.log(res);
}).catch(err => {
console.log(err);
});
If you want to make a request to an endpoint other than the one entered in the initial configuration parameters, you can send the variable
overwriteEndpoint: true
within the same object "data". This parameter indicates that the endpoint will be replaced by the url that is being entered in the method. Ex:
let url = 'http://www.dominio.com/api/my/route';
let data: {
overwriteEndpoint: true,
...,
...,
};
api.get(url, data).then(res => {
console.log(res);
}).catch(err => {
console.log(err);
});
NOTA: All methods use promises.
FAQs
cc api
The npm package cc-api receives a total of 0 weekly downloads. As such, cc-api popularity was classified as not popular.
We found that cc-api 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.