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.

Path

enum
Required

Query parameters

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