Giter VIP home page Giter VIP logo

wikibot's Introduction

wikibot

some tools and standalone scripts for automated tasks on http://leagueoflegends.fandom.com/de/wiki/

scripts

  • api_rotation.php
    • Called weekly via CRON-Job to update the wiki's champion rotation template with the new rotation fetched from Riot's API.
  • updateChampsById.php
    • Updates champsById.json (see "helper files")

wapi

server-side usage
api stuff for 3rd-party server for things the wiki can't handle

  • server_url/wapi/skinlink/CHAMPION/SKIN
  • server_url/wapi/update/champs
    • updates champion data (local json file)

tools

client-side usage
run via "cargo run [toolname] [filename]"
these commands need FANDOM_BOT_NAME and FANDOM_BOT_PASSWORD environment variables

  • eg. "cargo run delete ../todelete.txt"
    • deletes every page listed in specified file (separation via newline)

helper files:

  • No. 1: champsById.json
    • json object to return a champion's name by its id.

Upcoming:

  • More scripts converted to rust
  • Handling of Response Codes from Riot's API (imo not really needed at the moment when called once per week)

Important!

These scripts aren’t endorsed by Riot Games and don’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

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.