Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
wargamer
Advanced tools
Changelog
[0.5.0]
cacheTimeToLive
client option now represents the TTL in seconds, not milliseconds.findVehicleProfile()
not returning null
when a vehicle ID match is not found.Readme
A promise-based Node.js client library for the Wargaming.net API. Supports all of the documented APIs listed in the API reference.
This library currently supports Node 4 and above.
npm install --save wargamer
or
yarn add wargamer
UMD builds are available as well.
<script src="wargamer.min.js"></script>
<script>
const Wargamer = window.Wargamer;
const wot = new Wargamer.WorldOfTanks({ /* ... */ });
</script>
The UMD distribution is hosted by the following CDNs:
dist
(e.g. dist/wargamer.min.js
).Below is a sample of Wargamer code. More details and examples are available on the documentation site.
import Wargamer from 'wargamer';
const wot = Wargamer.WoT({ realm: 'ru', applicationId: 'application_id'});
wot.get('account/list', { search: 'Straik' })
.then((response) => {
console.log(response.meta); // { count: 100 }
console.log(response.data); // [{ nickname: 'Straik', account_id: 73892 }, ...]
})
.catch((error) => {
console.log(error.message);
});
FAQs
Node.js client library for the Wargaming.net API.
The npm package wargamer receives a total of 7 weekly downloads. As such, wargamer popularity was classified as not popular.
We found that wargamer 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.