Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Avatars#getBrowser

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Avatars.prototype.getBrowser
Re-export
import { Avatars } from "https://deno.land/x/appwrite@5.0.1/mod.ts";

Get Browser Icon

You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user GET /account/sessions endpoint. Use width, height and quality arguments to change the output settings.

When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.

Parameters

code: string
optional
width: number
optional
height: number
optional
quality: number