Giter Site home page Giter Site logo

pirica / fnitemshopgenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sprintermax/fnitemshopgenerator

0.0 1.0 0.0 19.77 MB

NodeJS app that create an image of the Fortnite Battle Royale Item Shop.

License: MIT License

JavaScript 99.46% Batchfile 0.54%

fnitemshopgenerator's Introduction

FNItemShopGenerator

NodeJS app that creates an image of the Fortnite Battle Royale Item Shop of the day.

Example image

Features

  • Supports items and bundles.

  • Images sorted alphabetically and by rarity with bundles and series on top.

  • Indicator if the item comes with bonus items and/or total item quantity.

  • This app uses APIs provided by https://fortnite-api.com and https://fortniteapi.io

Requirements

Installing

Just run npm install on Terminal.

-> On Windows you can just open the Install Modules.bat file.

Usage

Run npm start, node . or node index_<API>.js on Terminal.

-> On Windows you can just open the Get Store <API>.bat file.

Note: The generated image file name will be the date in DD-MM-YYYY_v[version].png. If a image with the same version already exist (ex. Running the program more than one time each day), the version number will increment. To remove the previous generated images, delete the folder imagensGeradas or run Clear OutputFolder.bat

Possible Enviroment Variables:

FNAPI_IO_TOKEN: API Token for https://fortniteapi.io/

FNAPI_COM_TOKEN: API Token for https://fortnite-api.com/

UPLOAD_TO_DISCORD_WEBHOOK: If should send the image on a discord webhook (yes/no)

DISCORD_WEBHOOK_URL: URL of the discord Webhook to use

UPLOAD_TO_GITHUB: If should upload the generated image to github (yes/no) ? GITHUB_TOKEN: GitHub User Token

GIT_OWNER: GitHub Account name

GIT_REPO: GitHub Repository name

GIT_PATH: Path inside the repository to save the file

GIT_BRANCH: Branch of the repository to save the file

Other

You are able to fork, edit, use, share the images generated by this program as long as you credit the creator and/or provide the original source repository.

fnitemshopgenerator's People

Contributors

sprintermax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.