Could you please add a feature to import Deck lists and/or directly to collection from Snapcardster? Currently I convert the files via PowerShell.
Example (yes, the typo is really there):
Qty,Name,Printing,Foil,Alter,Signed,Condition,Languange
1,Wood Elves,CMA,,,,,
Convert Code to deckstats:
<#
Supported columns:
card_name or Name: The card name (required)
amount or Count: The amount
set_code: Three-letter abbreviation of the set (eg. LEA, UST)
language: Two-letter language code (eg. EN, DE, ES)
condition: One/two-letter condition code (eg. NM, MP, DM)
is_foil or Foil: Should contain a 1 if the card is foil, empty otherwise
is_pinned: Should contain a 1 if the card is pinned, empty otherwise
comment: A comment/notes about the card
#>
# File path variables
$source = "C:\import.txt"
$cache = "${env:temp}\temp.csv"
$target = "C:\deckstats.csv"
# CSV column layout for Deckstats
$Header = 'Count', 'Name', 'set_code', 'Foil', 'Alter', 'Signed', 'condition', 'language'
# Readin Source file from Snapcardster
$raw = Get-Content -Path $source
# Delete CSV Header Layout from Snapcardster
$raw = $raw[1..($raw.Count - 1)]
# Cache modified results in a temp file
$raw | Out-File -FilePath $cache -Force
# Readin modified file as CSV and force new columns for deckstats
$collection = Import-Csv -Path $cache -Header $Header
# Optional: Add missing information about the cards
foreach ($card in $collection) {
$card.Condition = "NM"
$card.language = "EN"
}
# Show the results on the command line
$collection | Format-Table
#Export
$collection | Select-Object * | Export-Csv -Path $target -NoTypeInformation