
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@solomid/node-gg
Advanced tools
The official Champion.GG API Node.js Client.
npm i @solomid/node-gg
If you really need an ES5 version:
npm i @solomid/node-gg@1.1.0
First, instantiate the wrapper with your api key
const GG = require('node-gg');
const gg = GG.init('YOUR_KEY');
Then you gain access to all current endpoints of the API! All but initialization require a callback function and some also require either role or champion_id, along with an optional object with ...options. These options are passed as query string params and are page, limit, elo, sort and champData. For more details on these parameters, please refer to the Champion.GG API documentation.
The methods are:
| Method | Parameters |
|---|---|
.init | api_key |
.statistics.overall | options, cb |
.statistics.general | options, cb |
.champions.all | options, callback |
.champions.specific | champId, options, callback |
.champions.specificRole | champId, role, options, callback |
.champions.specificMatchup | champ1Id, champ2Id, role, options, callback |
npm test
Feel free to contribute, let's just try to keep it readable :)
FAQs
Node.js Client for champion.gg API
We found that @solomid/node-gg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.