Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
node-gat-blac-api
Advanced tools
Readme
A library providing methods to use all gat-blac apis
npm install node-gat-blac-api --save
Use the Sport team api of gat-blac is simple and easy with this module, there is here an example of using this. With getTeams Method returns an array with all teams that match with the filters
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'country':'chile'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
Football teams
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'sport':'football'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
Basketball teams
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'sport':'basketball'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
American Football teams
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'sport':'american-football'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
Baseball teams
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'sport':'baseball'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
Hockey teams
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
var filters = {'sport':'hockey'};
gatBlacApi.getTeams(filters,function(error,teams){
if(error){
console.log(error);
}
console.log(teams);
});
With getTeam Method returns an Object with a team that match with the code
var GatBlacApi = require('node-gat-blac-api');
var gatBlacApi = new GatBlacApi();
gatBlacApi.getTeam('colo-colo',function(error,team){
if(error){
console.log(error);
}
console.log(team);
});
Use the indicators api of gat-blac is simple and easy with this module, there is here an example of using this. With getIndicators Method returns an array with indicators of Chile that match with the filters
var filters = {'date':'2016-02-28'}
gatBlacApi.getIndicators(filters,function(error,indicators){
if(error){
console.log(error);
}
console.log(indicators);
});
With getInflation Method returns an array with inflation indicators of Chile that match with the filters
var filters = {'date':'2016-02-28'}
gatBlacApi.getInflation(filters,function(error,inflation){
if(error){
console.log(error);
}
console.log(inflation);
});
With getNoonIndicators Method returns an array with noon indicators of Chile that match with the filters
var filters = {'date':'2016-02-28'}
gatBlacApi.getNoonIndicators(filters,function(error,noonIndicators){
if(error){
console.log(error);
}
console.log(noonIndicators);
});
With getExchangeRate Method returns an array with noon indicators of Chile that match with the filters
var filters = {'date':'2016-02-28'}
gatBlacApi.getExchangeRate(filters,function(error,exchangeRate){
if(error){
console.log(error);
}
console.log(exchangeRate);
});
npm test
FAQs
Node.js module to interact with official Gat-Blac Api
The npm package node-gat-blac-api receives a total of 1 weekly downloads. As such, node-gat-blac-api popularity was classified as not popular.
We found that node-gat-blac-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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.