1.40.0 • Published 4 years ago

fortnitejsc v1.40.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

fortnitejsc

This library was mixed into a big library, epicgames-fortnite-client and node-epicgames-client

Interact with fortnite's client, using javascript.

Last Update (2/29/2020)

  • Added more graphql values
  • New values in launcher account, library, unlinkedPlatforms, coupons and timeIngames, these are all from the new graphql values
  • Added in http sendGraphql(url, data, headers), using for the new graphql values
  • Removed requires that require the two libs

Example

                                    const { Client, Fortnite } = require('fortnitejsc');
                                    const { email, password } = require('../../config');

                                    let client = new Client({
                                      email: email,
                                      password: password,
                                      });

                                      client.init().then(async (success) => {

                                        if(!success)
                                        throw new Error('Cannot initialize EpicGames launcher.');

                                        var fortnite = await client.login();
                                        let eg = fortnite.launcher

                                        if(!fortnite)
                                        throw new Error('Cannot login on EpicGames account.')

                                        const br = await fortnite.runSubGame(Fortnite.ESubGame.BattleRoyale);   

                                      });

Credit

  • Terbau
  • Kysune
  • Kekistanz

Do you need help?

Check our discord server: https://discord.gg/HxGfuEx

1.50.0

4 years ago

1.40.0

4 years ago

1.33.0

4 years ago

1.32.0

4 years ago

1.30.0

4 years ago

1.31.0

4 years ago

1.20.0

4 years ago

1.10.0

4 years ago