Docs
Skip to content
get

Get browser icon

Endpoint

gethttps://<REGION>.cloud.appwrite.io/v1/avatars/browsers/{code}

Description

Required scopes

avatars.read

Authentication

Initialize the Appwrite client with setProject(). No signed-in user or server API key is required.

Supports optional impersonation. Learn more

Path

enum
Required

Query parameters

integer
integer
integer
Status
Content type
200
image/png
JavaScript
import { Client, Avatars, Browser } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const avatars = new Avatars(client);
const result = avatars.getBrowser({
code: Browser.AvantBrowser,
width: 0, // optional
height: 0, // optional
quality: -1 // optional
});
console.log(result);