{"id":15844953,"url":"https://github.com/efectn/rest-countries","last_synced_at":"2025-07-11T16:38:30.064Z","repository":{"id":65338872,"uuid":"391929920","full_name":"efectn/rest-countries","owner":"efectn","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-26T22:03:50.000Z","size":11228,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T17:54:51.713Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efectn.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":"2021-08-02T11:53:38.000Z","updated_at":"2021-08-26T22:03:53.000Z","dependencies_parsed_at":"2023-01-18T00:45:16.733Z","dependency_job_id":null,"html_url":"https://github.com/efectn/rest-countries","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/efectn/rest-countries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Frest-countries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Frest-countries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Frest-countries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Frest-countries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efectn","download_url":"https://codeload.github.com/efectn/rest-countries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Frest-countries/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264852987,"owners_count":23673546,"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-05T17:41:25.848Z","updated_at":"2025-07-11T16:38:30.048Z","avatar_url":"https://github.com/efectn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rest Countries Go\nGet information about countries via a RESTful API made by Go. \n\n_**Build:**_ \n- Clone repository.\n- Edit .env file and main.go to change `@host` var.\n- `go get -u`\n- `swag init .`\n- `CGO_ENABLED=0 go build -ldflags \"-s -w\" .`\n\n**_Usage:_** `./rest-countries`\n\n**_Demo:_** https://rest-countries-go.herokuapp.com/\n\n\n\u003chr\u003e\n\n## Endpoints:\n\n| Method  | Route  |\n|---|---|\n| GET  | /api/v1/all  |\n| GET  | /api/v1/name/:name  |\n| GET  | /api/v1/code/:code  |\n| GET  | /api/v1/currency/:currency  |\n| GET  | /api/v1/language/:language  |\n| GET  | /api/v1/capital/:capital  |\n| GET  | /api/v1/calling/:code  |\n| GET  | /api/v1/region/:region  |\n| GET  | /api/v1/regional-block/:block  |\n\n\n### **Note:** Look at swagger docs for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefectn%2Frest-countries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefectn%2Frest-countries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefectn%2Frest-countries/lists"}