GETGet Logo Image
https://api-logos.dataandapis.com/v1/logos/{domain}/image
Parâmetros de caminho
| Parâmetro | Exemplo | |
|---|---|---|
| domain | github.com | Obrigatório |
Exemplo de requisição
curl "https://api-logos.dataandapis.com/v1/logos/github.com/image" \
-H "X-Api-Key: YOUR_API_KEY"// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const file = await client.logos.getLogoImage({ domain: "github.com" }); // a Blob# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
file = client.logos.get_logo_image(domain="github.com") # bytes{
"note": "Binary response — the best icon itself, not JSON. Shown here as the headers the endpoint returns.",
"status": 200,
"headers": {
"Content-Type": "image/svg+xml",
"Cache-Control": "public, max-age=86400",
"X-Logo-Source": "https://github.githubassets.com/favicons/favicon.svg"
},
"body": "<svg width=\"32\" height=\"32\" ...> (959 bytes)"
}





