ToxicFrog / bltool

A tool for command line interaction with backloggery.com
Apache License 2.0
78 stars 9 forks source link

Everything is unplayed #5

Closed davidyell closed 10 years ago

davidyell commented 10 years ago

I tried importing my games into Backloggery using this tool and it has imported all my games as unplayed, rather than checking how much time was played to see if it's actually unplayed or not.

There also doesn't seem to be a way to clear out my account. I'm not about to manually edit 300+ games!

The API has an endpoint which will return the playtime.

http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=%s&steamid=%s&include_played_free_games=1&include_appinfo=1

ToxicFrog commented 10 years ago

bltool doesn't check game-played time. I may add this feature in the future, but probably not, since it doesn't really save you from having to manually check the games anyways:

(I note that it wouldn't need to use that API endpoint; the XML game list it requests already includes time-played information.)

As for mass deletions, there is a bl-delete format you can use for that - it's documented in the README, but not obviously due to a formatting issue with the markdown (which will be fixed shortly). It'll take all the games listed and delete them from backloggery. So you can, for example:

bltool --from backloggery --to text --output games.txt
edit games.txt # delete all games from the list you want to keep
bltool --from text --to bl-delete --input games.txt

And it will take all the games remaining in games.txt and delete them from your backloggery. If you want to wipe your entire account, you don't need to edit the file at all, and in fact can just do:

bltool --from backloggery --to bl-delete

There are also edit and rich-edit modes in the pipeline that will let you edit games without deleting and re-adding them, but it's nowhere near ready yet.

davidyell commented 10 years ago

Thanks for the reply. I've cleared out my list and will manually add the few games I want to track.

mtfurlan commented 10 years ago

Might want to make this far more clear in README.md. I was about to file the same bug report.