npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/skynewz_api_fortnite_herokuapp

v3.0.0

Published

DataFire integration for FORTNITE REST API

Downloads

7

Readme

@datafire/skynewz_api_fortnite_herokuapp

Client library for FORTNITE REST API

Installation and Usage

npm install --save @datafire/skynewz_api_fortnite_herokuapp
let skynewz_api_fortnite_herokuapp = require('@datafire/skynewz_api_fortnite_herokuapp').create({
  Bearer: ""
});

.then(data => {
  console.log(data);
});

Description

REST API about Fortnite game

Actions

check.get

Get Fortnite game status

skynewz_api_fortnite_herokuapp.check.get(null, context)

Input

This action has no parameters

Output

  • output object
    • status boolean

news.get

Get Fortnite News

skynewz_api_fortnite_herokuapp.news.get(null, context)

Input

This action has no parameters

Output

  • output object
    • br object
      • _type string: Type of news
      • body string
      • image string: Image path of this news
      • title string
    • common object
      • _type string
      • body string
      • title string
    • loginmessage object
      • _type string
      • body string
      • title string
    • survivalmessage object
      • _type string
      • body string
      • title string

oauth.token.post

Get a Bearer token

skynewz_api_fortnite_herokuapp.oauth.token.post({
  "email": "",
  "password": ""
}, context)

Input

  • input object
    • email required string
    • password required string

Output

  • output object
    • access_toekn string
    • expiresIn string: Time in seconds for the validity of token

pve.info.get

Get Fortnite PVE Info (storm, etc)

skynewz_api_fortnite_herokuapp.pve.info.get(null, context)

Input

This action has no parameters

Output

  • output object

pve.user.username.get

Get PVE Stat by given username

skynewz_api_fortnite_herokuapp.pve.user.username.get({
  "username": ""
}, context)

Input

  • input object
    • username required string: Fortnite username

Output

  • output object

stats.id.plateform.id.get

Get user's stats by user id

skynewz_api_fortnite_herokuapp.stats.id.plateform.id.get({
  "plateform": "",
  "id": ""
}, context)

Input

  • input object
    • plateform required string: Playing plateform, can be xb1, ps4 or pc
    • id required string: Player ID

Output

  • output object
    • group object: Stats on solo, duo or squad
      • duo object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
      • solo object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
      • squad object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
    • info object: Display user info
      • accountId integer
      • plateform string
      • username string
    • lifetimeStats object
      • k/d number: Ratio Kill/Dead
      • kills integer: Number of kills
      • killsPerMatch string: Number of kill/match
      • killsPerMin string: Number of kill/minute
      • score integer
      • timePlayed string: Number of days, hours and minutes played
      • top10 integer: Number of top10
      • top12 integer: Number of top12
      • top25 integer: Number of top25
      • top3 integer: Number of top3
      • top5 integer: Number of top5
      • top6 integer: Number of top6
      • win% number: Wins ratio
      • wins integer: Number of top1

stats.plateform.username.get

Get user's stats by username

skynewz_api_fortnite_herokuapp.stats.plateform.username.get({
  "plateform": "",
  "username": ""
}, context)

Input

  • input object
    • plateform required string: Playing plateform, can be xb1, ps4 or pc
    • username required string: Player username

Output

  • output object
    • group object: Stats on solo, duo or squad
      • duo object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
      • solo object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
      • squad object
        • k/d number: Ratio Kill/Dead
        • kills integer: Number of kills
        • killsPerMatch string: Number of kill/match
        • killsPerMin string: Number of kill/minute
        • score integer
        • timePlayed string: Number of days, hours and minutes played
        • top10 integer: Number of top10
        • top12 integer: Number of top12
        • top25 integer: Number of top25
        • top3 integer: Number of top3
        • top5 integer: Number of top5
        • top6 integer: Number of top6
        • win% number: Wins ratio
        • wins integer: Number of top1
    • info object: Display user info
      • accountId integer
      • plateform string
      • username string
    • lifetimeStats object
      • k/d number: Ratio Kill/Dead
      • kills integer: Number of kills
      • killsPerMatch string: Number of kill/match
      • killsPerMin string: Number of kill/minute
      • score integer
      • timePlayed string: Number of days, hours and minutes played
      • top10 integer: Number of top10
      • top12 integer: Number of top12
      • top25 integer: Number of top25
      • top3 integer: Number of top3
      • top5 integer: Number of top5
      • top6 integer: Number of top6
      • win% number: Wins ratio
      • wins integer: Number of top1

store.get

Get Fortnite Store

skynewz_api_fortnite_herokuapp.store.get(null, context)

Input

This action has no parameters

Output

  • output object

user.plateform.username.get

Get a user by username

skynewz_api_fortnite_herokuapp.user.plateform.username.get({
  "plateform": "",
  "username": ""
}, context)

Input

  • input object
    • plateform required string: Playing plateform, can be xb1, ps4 or pc
    • username required string: Player username

Output

  • output object
    • displayName string
    • id string: ID of player

Definitions

This integration has no definitions