Giter Club home page Giter Club logo

r6s-stats-api's Issues

TIME_OUT error

Hello! I have an error that I always get and cant solve. The error is that when I call any API callbacks I only get ex.: rank TIME_OUT and then the program stops. Anyway to solve this issue?

code:

`const R6 = require('r6s-stats-api');

let platform = 'PC';
let name = 'Kek_Orbit';

async function main() {
let rank = await R6.rank(platform, name);
console.log('rank', rank);
}
main();`

R6-Bot

Hello hmes!! I love the work you did, I have a question im new into all of this of discord bots, Im a mechatronic engineer. I was wondering if there's any way to give a user on discord their R6 Rank as a Role on the server after they submit their username, i would really appreciate if you could help me out with this

Casual Stats lead to incorrect data

{
  url: 'https://r6.tracker.network/profile/pc/MP7/',
  name: 'MP7',
  header: 'https://ubisoft-avatars.akamaized.net/f037a5a4-4f59-49d2-9d98-18e11d213c61/default_256_256.png',
  kd: 'Y7S2: Vector Glare',
  kills: '2,465',
  deaths: '1,846',
  win_: '80.15',
  wins: '416',
  losses: '102',
  time_played: 'Y7S2: Vector Glare',
  matches: 'Y7S2: Vector Glare',
  kills_match: 'Y7S2: Vector Glare',
  kills_min: 'Y7S2: Vector Glare',
  mmr: '1,336',
  rank: 'COPPER III',
  rank_img: 'https://imgur.com/w4Zdkc4.png'
}

Some casual stats lead to incorrect data such as time_played and matches

R6.general() not working

For some reason any input passed to R6.general() returns a NOT_FOUND error, even with the example provided on npm

Confused

Im a bit confused on how you get a specific thing like I just want my rank to show but when I try to add it to

let ranked = await R6.rank(platform, name, rank)
console.log('Ranked', ranked)

I just get an error that says

let ranked = await R6.rank(platform, name, rank)
                                             ^

ReferenceError: rank is not defined

Also please update this for the new Ranked 2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.