1.0.2 • Published 3 years ago

fortnite-shop-api v1.0.2

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

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

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago