This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
hello, all!
i had a list of board games, and i wanted to quickly find their rating from bgg, so i built it!
hope you all find it useful - feel free to make it your own.
https://github.com/gangstanthony/PowerShell/blob/master/Search-BoardGameGeek.ps1
Get-Clipboard | % {search-bgg $_}
Game ID Average BayesAverage
---- -- ------- ------------
Alhambra 6249 7.03029 6.9187
Sheriff of Nottingham 157969 7.14486 7.02456
Great Art Close up: The Museum of Modern Art 22974 5 0
Skulk Hollow 232595 7.53432 6.22419
*edit: if you search for a game that has many variations, like catan, you'll get a huge list to chose from to select the right game you're looking for. i remember someone created a function to compare strings to see how closely related they were or by how many characters off they were from each other. maybe if i can find that I'll see if i can get this function to try and auto select the right game from the list for me.
something like this:
https://www.reddit.com/r/PowerShell/comments/8n0plt/trying_to_find_the_difference_between_2_strings/
*edit: updated! i have it commented out right now, but if you uncomment it, the script will load the function from its github page. the best guess is added as the first item in the search results.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PowerShell/...