0.2.0 • Published 7 years ago

pubg-stats v0.2.0

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

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)

ParameterTypeOptionalDefaultDescription
usernamestringnoneThe user you want to search

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

pubg-stats © iCrawl, Released under the MIT License. Authored and maintained by iCrawl.

GitHub @iCrawl · Twitter @iCrawlToGo