Closed pekempy closed 5 years ago
Need to look into this, Google API/Bing API both paid, need to find a free version or an alternative
Scratch that, charges $50/m for 5000 searches
Next option IGDB - Internet Game Database which has an API we can make 10,000 requests from a month for free. May look at implementing this, if requests are per image or something, we can have the user provide their own API key in the settings.
Need to look at implementing this
Alternative to IGDB (as it doesn't distinguish between poster, icon, banner etc) is Qwant which is a free limitless search engine with an API. I'm leaning more towards this. The API is in JS so we'll need to find a way around this
Image scraping now has a way of getting both a thumbnail and a direct link depending on the title of the game. It's currently only searching for poster from the debug button on poster view, will be moved to add/edit games later - need to build a UI All of this as of 0f6cf5a
UI not currently working as the ItemsControl won't load the items from the collection, unsure why
After a long night researching, need to use a Converter on the binding as it only supports URLs if hardcoded, not via binding. Need to convert URL to BitmapImage
Binding working in 11cbfd4 - needs to have buttons to download the image, but first want to look at having different item templates for things like banner
47bbf8f makes this pretty much 100% functional from poster view
Plan to add the ability to scrape images based on the title input (e.g. Skyrim will scrape based on the search "Skyrim poster", "skyrim icon", and "skyrim banner", and then user can select which of the scraped images to use.
Increases ease of use / accessibility for the end user