fortnite-shop-api

1.0.2 • Public • Published

Fortnite Shop Api

Build Status

A simple module to get fortnite featured/daily shop.

Installation

Open your favorite Terminal and run these command.

First Step and Only Step:

$ npm i fortnite-shop-api

Example usage

var { getDailyShop, getFeaturedShop } =  require('fortnite-shop-api');

getDailyShop().then((response) => {
    console.log(response);
}).catch((err) => {
    console.error(err);
})

getFeaturedShop().then((response) => {
    console.log(response);
}).catch((err) => {
    console.error(err);
})

// Example response:

/*
[
    {
        imageURL: 'https://image.fnbr.co/emote/5fd94fce4fd78c5a919b7727/icon_256.png',
        itemName: 'Party Favor',
        price: 300,
        rarity: 'uncommon'
    }
    ...
]
*/

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i fortnite-shop-api

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

5.62 kB

Total Files

4

Last publish

Collaborators

  • thurdev