0
I’m pulling from the Cosmos API the data of a product, it returns me a json that I converted to a string array using $array = json_decode($data);
When I execute var_dump($array)
he returns it to me:
object(stdClass)#34 (15) {
["description"]=> string(58) "ABSORVENTE COM ABAS INTIMUS GEL C/32 TRI PROTECT SECA UNIT"
["gtin"]=> float(7896007544059)
["thumbnail"]=> string(57) "https://cdn-cosmos.bluesoft.com.br/products/7896007544059"
["price"]=> string(8) "R$ 11,99"
I would like to know how to get only the link of ["thumbnail"]?
Man, thanks, worked right!
– Igor De Assis Pires