GithubHelp home page GithubHelp logo

aws404 / wynncraft-wiki-bot-scripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 32 KB

A collection of scripts to help maintain the Wynncraft Wiki

Home Page: https://wynncraft.gamepedia.com

Python 100.00%
mediawiki mediawiki-bot wynncraft wynncraftapi

wynncraft-wiki-bot-scripts's Introduction

Wynncraft Wiki Bot Scripts

This is a collection of scripts that can be used to maintain the Wynncraft Wiki (https://wynncraft.gamepedia.com).
These scripts get data from the Offical Wynncraft API (https://docs.wynncraft.com).

Required Libraries

wynn.py Wynncraft API Wrapper

River's Gamepedia API Wrapper

Python Requests Library

  • Install Command: pip install requests

Setup

The following files in the same directory as your code:

  • username_me.txt - your user name for example, RheingoldRiver@Python
  • password_me.txt - your bot password this will be a long string of characters from Special:BotPasswords

Scripts

ingredients.py

This script is used to update all the 'Template:Infobox/Ingredient' and 'Template:Crafting' templates using data from the Offical Wynncraft API.

Example

If no arguments are supplied, the script will update all instances of the template, for example:

python ingredients.py

A set of one or more pages can also be specified to update, for example:

python ingredients.py Rotten_Flesh Grook_Feather Corrupted_Fragment

items.py

This script is used to update all the 'Template:Infobox/Armour', 'Template:Infobox/Weapon', 'Template:Identification' and 'Template:Identification/Preset' templates using data from the Offical Wynncraft API.

Example

If no arguments are supplied, the script will update all instances of the template, for example:

python items.py

A set of one or more pages can also be specified to update, for example:

python items.py Infused_Hive_Weapons "Bob's_Mythic_Weapons" "Olux's_Prized_Weapons"

Todo

  1. Add Weapon and Accessory Sprites
  2. Add Crafting Recipe Updating Script

wynncraft-wiki-bot-scripts's People

Contributors

aws404 avatar coehlrich avatar trapincho avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

coehlrich

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.