Skip to content

A collection of scripts to help maintain the Wynncraft Wiki

Notifications You must be signed in to change notification settings

aws404/Wynncraft-Wiki-Bot-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A collection of scripts to help maintain the Wynncraft Wiki

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages