{"id":16326646,"url":"https://github.com/izolate/countries","last_synced_at":"2025-10-17T04:07:13.479Z","repository":{"id":27035488,"uuid":"30500492","full_name":"izolate/countries","owner":"izolate","description":"Useful data for every country in the ISO 3166 standard","archived":false,"fork":false,"pushed_at":"2015-02-08T20:09:17.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T06:41:32.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izolate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-08T18:18:03.000Z","updated_at":"2015-02-08T20:09:17.000Z","dependencies_parsed_at":"2022-08-31T21:46:19.889Z","dependency_job_id":null,"html_url":"https://github.com/izolate/countries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izolate%2Fcountries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izolate%2Fcountries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izolate%2Fcountries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izolate%2Fcountries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izolate","download_url":"https://codeload.github.com/izolate/countries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235711,"owners_count":22036965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:09:09.498Z","updated_at":"2025-10-17T04:07:08.425Z","avatar_url":"https://github.com/izolate.png","language":"Dart","readme":"# countries\nUseful data for every country in the ISO 3166 standard\n\n## Usage\n\nInstantiate the class: `Countries countries = new Countries()`\n\n### `countries.code(String)`\n\nLookup a country based on its 2-digit, [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.\n\n**Example**\n```\ncountries.code('GB');\n```\n**Response**:\n```\n{\n  \"capital\": \"London\",\n  \"continent\": \"EU\",\n  \"currency\": \"GBP\",\n  \"languages\": \"en\",\n  \"name\": \"United Kingdom\",\n  \"native\": \"United Kingdom\",\n  \"phone\": 44,\n  \"code\": \"GB\"\n}\n```\n\n### `countries.name(String)`\n\nLookup a country by its official name in English.\n\n**Example**\n```\ncountries.name('South Korea');\n```\n\n**Response**\n```\n{\n  \"capital\": \"Seoul\", \n  \"continent\": \"AS\",\n  \"currency\": \"KRW\",\n  \"languages\": \"ko\",\n  \"name\": \"South Korea\",\n  \"native\": \"대한민국\",\n  \"phone\": 82,\n  \"code\": \"KR\"\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizolate%2Fcountries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizolate%2Fcountries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizolate%2Fcountries/lists"}