Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 459 Bytes

get-flag.md

File metadata and controls

3 lines (2 loc) · 459 Bytes

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.

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.