Parsing box art url as a string return a null. For me response indicates that it is a string but in docs is written that is an object. If it is indeed an object how it should look as a pojo?
You should JSON parse the response, and the extract resp->data[0]->box_art_url and then substritute/string replace {width} and {height} for number for the dimension of image you need.
can i pass % to the width and height? Or does it have to be in px fixed size?
I’m trying to use it as a background image on a div, what’s the best way if at all possible? Do i have to iterate through the whole array and modify each box_art_url and set the width and height? geez i don’t know who designs twitch’s API