0.2.0 • Published 7 years ago
pubg-stats v0.2.0
pubg-stats
A Node.JS wrapper to fetch PUBG stats
Features
Install
npm install pubg-stats
Usage
Normal usage:
const PUBGClient = require('pubg-stats');
const { API_KEY } = require('./config');
const client = new PUBGClient(API_KEY);
client.getProfile('iCrawl')
.then(profile => console.log(profile))
.catch(err => console.error(err));
Docs
PUBGClient.getProfile(username)
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
username | string | none | The user you want to search |
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
pubg-stats © iCrawl, Released under the MIT License. Authored and maintained by iCrawl.
GitHub @iCrawl · Twitter @iCrawlToGo