Ability to return country codes
esirK opened this issue · 1 comments
esirK commented
From what I can tell, the library only returns country names but not country codes. I think we can add a function to allow users to get the country codes if they wish to. I feel like County codes are more used as compared to country names.
lucagrandicelli commented
You can get country codes within the get_countries_data_of()
or get_countries()
method. But i agree with you: we need a better and more specific method which can return only codes. Gonna work on it soon. Thank You.