ravendt / wowastralkeys Goto Github PK
View Code? Open in Web Editor NEWExport a table of your characters' Mythic Keystones from AstralKeys addon.
License: MIT License
Export a table of your characters' Mythic Keystones from AstralKeys addon.
License: MIT License
Currently:
# Output data as a table
$MyKeys |
Sort-Object -Property Faction,Dungeon,@{E='Level';D=$true},Name,Class |
Format-Table Name,Faction,Class,Dungeon,Level,WeeklyBest
Change this so it outputs via the pipeline so it can be filtered/sorted by chaining cmdlets.
PS> .\WoWAstralKeys.ps1
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:248
Line |
248 | if (!$MyKeyData[$Item.unit]) { $MyKeyData[$Item.unit] = @ …
| ~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:249
Line |
249 | $MyKeyData[$Item.unit].Name = $Item.unit
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:250
Line |
250 | $MyKeyData[$Item.unit].Class = $CLASS[$Item.class]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:251
Line |
251 | $MyKeyData[$Item.unit].Faction = $FACTION_."$($Item.facti …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:252
Line |
252 | $MyKeyData[$Item.unit].Dungeon = 'No key'
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:253
Line |
253 | $MyKeyData[$Item.unit].Level = 0
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
InvalidOperation: C:\Users\raven\dev\WoWAstralKeys\WoWAstralKeys.ps1:254
Line |
254 | $MyKeyData[$Item.unit].WeeklyBest = $Item.weekly_best
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Index operation failed; the array index evaluated to null.
Name Faction Class Dungeon Level WeeklyBest
---- ------- ----- ------- ----- ----------
Character-Server Alliance Hunter Halls of Atonement 15 0
Currently:
if ($OutputFormat) {
switch ($OutputFormat) {
CSV {
$OutputString = $MyKeys |
Select-Object -Property Name,Faction,Class,Dungeon,Level,WeeklyBest |
ConvertTo-Csv -NoTypeInformation
}
JSON { $OutputString = $MyKeys | ConvertTo-Json }
}
$OutputString | Set-Content -Encoding utf8 $Path
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.