wrbt

command module
v0.0.0-...-5385a44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: MIT Imports: 12 Imported by: 0

README

Warcraft Raid Boss Top GoDoc

That tool grabs data from multiple sources to produce list of WoW bosses with count of kills/wipes in each raid difficulty

Algorithm

  1. Grabs guilds from Raider.IO raid progression API Special thanks to Ludicrous Speed! Guys, you did awesome service!
  2. Grabs reports list for each guild from Warcraft Logs API Special thanks to Kihra! Without you a lot of things in WoW would be much worse!
  3. Parses each report from list (Warcraft Logs API) and gets boss kills/wipes (global counters for each boss/difficulty)
  4. Grabs boss info (npc id, name, raid name) from Warcraft Logs API.
  5. Export merged data to json

Usage

Usefull tools
Build
CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -v -a -installsuffix cgo -o wrbt
Commands
run
wrbt --apikey APIKEY --db BBOLT_DB_FILE --workers WORKERS_COUNT --export TARGET_JSON --only WHAT_TO_DO
  • APIKEY required - Warcraft Logs API Key, you can get it in your profile settings on Warcraft Logs
  • BBOLT_DB_FILE - Main database file path, default: ./bolt.db
  • WORKERS_COUNT - Amount of parallel workers, default: 5
  • TARGET_JSON - Exported data json file path, default: ./export.json
  • WHAT_TO_DO - If you want to do only one thing (eg: export data), you can set it to that flag, default: all

help available in cli: wrbt -h

run full flow
wrbt --apikey APIKEY
run only export
wrbt --apikey APIKEY --only export
Optmimize db (optional)

NOTE: requires bbolt cli

bbolt compact -o new.db bolt.db
mv new.db bolt.db

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL