New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

thunderapi

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thunderapi

Easily get data from War Thunder without having to write huge chunks of code

latest
Source
npmnpm
Version
0.7.1
Version published
Maintainers
1
Created
Source

Discord Downloads Version

NPM info

ThunderAPI

A node.js scraper to get profile and squadron data from War Thunder

About

ThunderAPI is a simple, promise-based data scraper for the War Thunder site to get all kinds of data, including player and squadron info. Additionally, it makes full use of ES2017's async/await functionality for clear, concise code that is simple to write and easy to comprehend.

Features

  • Fetching player info
  • Fetching squadron info
  • Getting news info
  • Getting update info

Install

Node.js v8 or higher is required.

npm install thunderapi

To install the development branch (please note that this may not be stable):

npm install thunderstats/thunderapi

Documentation for the master branch can be found here.

Example usage

const ThunderAPI = require("thunderapi");
// Create a new instance of ThunderAPI
const thunderAPI = new ThunderAPI();

// The player can be any in-game player. In this example,
// we'll get the profile of the player Abinavski, and log
// the title he set.
thunderAPI.getPlayer("Abinavski")
  // We handle the data returned here, in this case
  // by logging the title the player has set.
  .then(user => console.log("Title:", data.title))
  // If an error occurred, we catch it here!
  .catch(err => console.error("Oh no, an error occurred!\n", err));

Documentation

View the documentation here.

Contributing

If you wish to contribute to ThunderAPI, you are free to do so! Before getting started, please read the contribution guidelines first.

Support

If you encounter any problems using the ThunderAPI, want to leave a feature suggestion or just want a gentle nudge in the right direction, feel free to join our official Discord server!

Discord

Keywords

war thunder

FAQs

Package last updated on 16 Mar 2018

Did you know?

Socket

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.

Install

Related posts