@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
- status
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
- _type
- common
object
- _type
string
- body
string
- title
string
- _type
- loginmessage
object
- _type
string
- body
string
- title
string
- _type
- survivalmessage
object
- _type
string
- body
string
- title
string
- _type
- br
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
- email required
Output
- output
object
- access_toekn
string
- expiresIn
string
: Time in seconds for the validity of token
- access_toekn
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
- username required
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
- plateform required
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
- k/d
- 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
- k/d
- 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
- k/d
- duo
- info
object
: Display user info- accountId
integer
- plateform
string
- username
string
- accountId
- 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
- k/d
- group
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
- plateform required
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
- k/d
- 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
- k/d
- 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
- k/d
- duo
- info
object
: Display user info- accountId
integer
- plateform
string
- username
string
- accountId
- 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
- k/d
- group
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
- plateform required
Output
- output
object
- displayName
string
- id
string
: ID of player
- displayName
Definitions
This integration has no definitions