api.brand

get()

api.brand.get(id) → Promise<Brand>

Una marca, completa, como un objeto Brand que puede modificar.

GET /api/brand/:idfree
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const brand = await api.brand.get(id);
console.log(brand.name, brand.logos.main?.url, brand.palette.role("primary"));
brand = api.brand.get(brand_id)
print(brand.name, brand.logos.main and brand.logos.main["url"], brand.palette.role("primary"))

Una marca de otra cuenta responde brand_not_found, exactamente como un identificador desconocido.