{"id":18778871,"url":"https://github.com/ramsailopal/pcode-api","last_synced_at":"2025-12-17T18:30:18.750Z","repository":{"id":127742252,"uuid":"580745537","full_name":"RamSailopal/PCODE-API","owner":"RamSailopal","description":"A UK post codes API utilising YottaDB as the database and Flask/Python to present the endpoint","archived":false,"fork":false,"pushed_at":"2022-12-28T14:02:05.000Z","size":20640,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T10:27:34.417Z","etag":null,"topics":["api-rest","flask-application","postcode","python","yottadb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamSailopal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-21T10:43:16.000Z","updated_at":"2022-12-21T10:45:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a20c563-2370-4ee0-afc5-727e1a65e427","html_url":"https://github.com/RamSailopal/PCODE-API","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/RamSailopal%2FPCODE-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FPCODE-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FPCODE-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FPCODE-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamSailopal","download_url":"https://codeload.github.com/RamSailopal/PCODE-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239690074,"owners_count":19681035,"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":["api-rest","flask-application","postcode","python","yottadb"],"created_at":"2024-11-07T20:17:37.182Z","updated_at":"2025-12-17T18:30:18.274Z","avatar_url":"https://github.com/RamSailopal.png","language":"Python","readme":"# PCODE-API\n\n![example workflow](https://github.com/RamSailopal/PCODE-API/actions/workflows/deploy.yml/badge.svg)\n\nAn API that takes a UK post code and returns the longitute and latitude\n\nUtilises YottaDB as the database and Python flask to present the API endpoint.\n\n# To run\n\n    docker-run -p 5000:5000 -it docker.io/ramb0/api-pcode\n\nThe endpoint will then be available at the address http://dockerserveraddress:5000/pcode\n\nTo get the co-ordinates for example of zip **B71 4LF**:\n\n    curl http://dockerserveraddress:5000/pcode?pcode=B71 4LF\n    \n    \nOutput:\n\n    [\n      {\n        \"lat\": \"52.509003\",\n        \"long\": \"1664982\",\n        \"pcode\": \"B71 4LF\"\n      }\n    ]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fpcode-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framsailopal%2Fpcode-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fpcode-api/lists"}