{"id":29151385,"url":"https://github.com/karpeleslab/countrydb","last_synced_at":"2025-07-01T00:09:12.671Z","repository":{"id":134251772,"uuid":"466644255","full_name":"KarpelesLab/countrydb","owner":"KarpelesLab","description":"Country database for Go","archived":false,"fork":false,"pushed_at":"2023-01-27T00:11:14.000Z","size":2083,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T00:09:08.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KarpelesLab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-06T05:22:03.000Z","updated_at":"2022-03-06T06:06:22.000Z","dependencies_parsed_at":"2024-04-24T22:45:10.657Z","dependency_job_id":null,"html_url":"https://github.com/KarpelesLab/countrydb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/KarpelesLab/countrydb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarpelesLab%2Fcountrydb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarpelesLab%2Fcountrydb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarpelesLab%2Fcountrydb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarpelesLab%2Fcountrydb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KarpelesLab","download_url":"https://codeload.github.com/KarpelesLab/countrydb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarpelesLab%2Fcountrydb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262870876,"owners_count":23377314,"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":"2025-07-01T00:09:06.064Z","updated_at":"2025-07-01T00:09:12.644Z","avatar_url":"https://github.com/KarpelesLab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# countries database\n\nBased on ISO 3166-1 \n\nTranslations for country names/etc fetched from https://salsa.debian.org/iso-codes-team/iso-codes\n\n# Usage\n\nYou can get data directly for a given country, such as like this:\n\n```go\ninfo := countrydb.France;\nreturn info.ISO3166_Alpha2;\n```\n\n## Country lookup by iso code\n\n```go\ncountry, found := countrydb.ByAlpha2[code];\nif found {\n\t...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarpeleslab%2Fcountrydb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarpeleslab%2Fcountrydb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarpeleslab%2Fcountrydb/lists"}