Code Monkey home page Code Monkey logo

athena's Introduction

Athena

Athena is a utility which generates the current Fortnite Item Shop into a stylized image and shares it on Twitter.

As seen on @FNMasterCom...

Requirements

A Fortnite-API API Key is required to obtain the Item Shop data, Twitter API credentials are required to Tweet the image.

Usage

Open configuration_example.json in your preferred text editor, fill the configurable values. Once finished, save and rename the file to configuration.json.

  • delayStart: Set to 0 to begin the process immediately
  • language: Set the language for the Item Shop data (Supported Languages)
  • supportACreator: Leave blank to omit the Support-A-Creator tag section of the Tweet
  • twitter: Set enabled to false if you wish for itemshop.png to not be Tweeted

Edit the images found in assets/images/ to your liking, avoid changing image dimensions for optimal results.

Athena is designed to be ran using a scheduler, such as cron.

python itemshop.py

Credits

athena's People

Contributors

ethanc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

athena's Issues

This error from codes or me?

File "itemshop.py", line 24
Log.Info(self, f "Delaying process start for {self.delay}s...")
^
SyntaxError: invalid syntax

heroku

Could you add so that it can run on heroku? at 1 a.m.

Unable to import

In the itemshop.py file I get an error saying Unable to import 'coloredlogs', Unable to import 'twitter', Unable to import 'PIL'. I also get Unable to import 'requests' and Unable to import 'PIL'. I don't know if I forgot to install something or if something is wrong.
Thanks in advance!

error

I get an error and I dont know how to fix it! Here is the error:

Athena - Fortnite Item Shop Generator
https://github.com/EthanC/Athena

Traceback (most recent call last):
File "itemshop.py", line 296, in
Athena.main(Athena)
File "itemshop.py", line 20, in main
initialized = Athena.LoadConfiguration(self)
File "itemshop.py", line 57, in LoadConfiguration
configuration = json.loads(Utility.ReadFile(self, "configuration", "json"))
File "C:\Users\Holden\AppData\Local\Programs\Python\Python37-32\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\Holden\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Holden\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 3 column 25 (char 48)

Bundle Support

Hello! i was wondering when the items that come in a bundle will get marked as a bundle instead of a duplicate skin, and will show the bundle name instead?

Thank you!

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.