Skip to content

Usage

API

py
get_flag_svg(country: str, region: str) -> str
Returns the SVG content for the specified country and region.

get_all_flags() -> list
Returns a list of all available flags in the format country/region.

get_flags_by_country(country: str) -> list
Returns a list of flags for the specified country.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.