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

x/appwrite/mod.ts>Avatars#getFlag

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

Get Country Flag

You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings.

Parameters

code: string

code

optional
width: number = [UNSUPPORTED]

width

optional
height: number = [UNSUPPORTED]

height

optional
quality: number = [UNSUPPORTED]

quality

Returns

Promise<string>

Promise