OpenFlags.OpenFlags (OpenFlags v0.1.0)

View Source

Fetches static SVG flag files by country and region ISO.

Summary

Functions

Get raw SVG content by country and region.

Functions

get_svg(country, region)

Get raw SVG content by country and region.

Example

iex> OpenFlags.get_svg("usa", "arizona")
{:ok, "<svg ...>...</svg>"}