
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
node-gat-blac-api
Advanced tools
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
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
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.