{"id":24789086,"url":"https://github.com/cschen1205/cs-geo-tools","last_synced_at":"2025-07-15T01:15:46.581Z","repository":{"id":144143039,"uuid":"131469877","full_name":"cschen1205/cs-geo-tools","owner":"cschen1205","description":".NET toolkit that provides the utility functions for performing various tasks such as geocoding, reverse coding, country code translation, geo distance calculation, etc.","archived":false,"fork":false,"pushed_at":"2018-04-30T03:46:32.000Z","size":2949,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T06:45:40.414Z","etag":null,"topics":["country-code","geo-distance-calculation","geocoding","reverse-geocoding"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/cschen1205.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":"2018-04-29T05:57:07.000Z","updated_at":"2018-04-30T03:46:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"5eea96cc-cf2b-4e24-a841-8370efc38bc4","html_url":"https://github.com/cschen1205/cs-geo-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cschen1205/cs-geo-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschen1205%2Fcs-geo-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschen1205%2Fcs-geo-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschen1205%2Fcs-geo-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschen1205%2Fcs-geo-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cschen1205","download_url":"https://codeload.github.com/cschen1205/cs-geo-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cschen1205%2Fcs-geo-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218750,"owners_count":23729528,"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":["country-code","geo-distance-calculation","geocoding","reverse-geocoding"],"created_at":"2025-01-29T17:16:04.389Z","updated_at":"2025-07-15T01:15:46.573Z","avatar_url":"https://github.com/cschen1205.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cs-geo-tools\n\n.NET toolkit that provides the utility functions for performing various tasks such as geocoding, reverse coding, country code translation, geo distance calculation, etc.\n\n# Install\n\n```bash\nInstall-Package cs-geo-tools\n```\n\n# Usage\n\n```cs \nusing System;\nnamespace GeoTools\n{\n    class Program\n    {\n        public static void Main(string[] args)\n        {\n            Console.WriteLine(CountryCodeManager.Instance.GetCountryNameByCode(\"us\"));\n            string address = \"NTU, Singapore\";\n            double lat, lng;\n            GeoTool.FindLatLngByAddress(address, out lat, out lng);\n            Console.WriteLine(\"{0} is at ({1}, {2})\", address, lat, lng);\n            string address2 = \"NUS, Singapore\";\n            double lat2, lng2;\n            GeoTool.FindLatLngByAddress(address2, out lat2, out lng2);\n            Console.WriteLine(\"{0} is at ({1}, {2})\", address2, lat2, lng2);\n            Console.WriteLine(\"{0} is {1} away from {2}\", address, GeoTool.GetDistance_km(lat, lng, lat2, lng2), address2);\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcschen1205%2Fcs-geo-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcschen1205%2Fcs-geo-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcschen1205%2Fcs-geo-tools/lists"}