Hello,
My python application attempts to download boxart/fanart for games but cannot since the images are hosted at an https: URL.
For testing purposes, I have also tried using download programs and they too fail to download all images.
Example URL as per result of Image by Game ID Request: https://cdn.thegamesdb.net/images/origi ... 2236-1.jpg (works in browser...)
Is there something I am missing so that image download will start working?
Do requests to the image URL need to include an API key, and if so please provide an example on how to properly format the URL.
Thanks in advance for your help.
Cannot Download Images
Re: Cannot Download Images
I'll issue you an API key, Swagger docs should provide the examples you're seeking.
We're curious to see how new projects use TGDB API.
If you have a new public project, please provide a link to it so we can highlight cool new applications!
If you have a new public project, please provide a link to it so we can highlight cool new applications!

Re: Cannot Download Images
Hello!
You've been granted an API key which you can access through this page.
Please check the Announcements forum on a regular basis to ensure compliance with any changes or updates.
Documentation is available on Swagger here.
Thank you for your interest!
~ Leo
You've been granted an API key which you can access through this page.
Please check the Announcements forum on a regular basis to ensure compliance with any changes or updates.
Documentation is available on Swagger here.
Thank you for your interest!
~ Leo
We're curious to see how new projects use TGDB API.
If you have a new public project, please provide a link to it so we can highlight cool new applications!
If you have a new public project, please provide a link to it so we can highlight cool new applications!

Re: Cannot Download Images
you don't need a key, you just need to enable https in your python request.
Regards
Zer0xFF
Zer0xFF
-
- Posts: 5
- Joined: Tue Jul 25, 2023 1:02 am
Re: Cannot Download Images
When downloading images from an HTTPS URL using Python, you typically don't need an API key unless the server hosting the images explicitly requires authentication for access. The standard approach to downloading images from HTTPS URLs in Python involves using the requests library.
Rainbow Friends: Chapter 2
Rainbow Friends: Chapter 2