Giter Club home page Giter Club logo

fortniteticker's Introduction

fortniteticker

Code for accessing Fortnite API data and displaying it on a Sense HAT. Full tutorial in MagPi #78. https://raspberyypi.org/mappi

Magazine Example

Import score.json into Node-RED to create the flow. By default it gets my test account, but you can change it to anything you wish.

Advanced Version

There's also fortnighttickerplus.py which shows how to do the same with Python and adds a few more features.

Installation

Assuming you have git and pip installed (sudo apt install git python-pip):

$ cd
$ git clone https://github.com/mrpjevans/fortniteticker.git
$ sudo apt install sense-hat
$ pip install requests

Run

$ cd ~/fortniteticker
$ python3 fortnighttickerplus.py

Usage

If you have a Sense HAT installed, moving the joystick will display the scores of four people (or different platforms), one for each direction. Pressing the joystick down will get the current server status.

Customise

You can edit the 'users' dictionary that appears early in the code make different directions access different usernames and/or platforms.

Credits

Many thanks to the good people of https://fortniteapi.com for their awesome service.

fortniteticker's People

Contributors

mrpjevans avatar

Watchers

 avatar  avatar

fortniteticker's Issues

Advanced flow missing

Hi PJ, I just read your article in The MagPi 78 and at the end of the Fortnite article you talk about an 'advanced' flow we can download here. However, I only see an advanced Python script in this repository, not an advanced Node-RED flow. Is this file missing?

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.