{"id":16356927,"url":"https://github.com/previousdeveloper/pythonpostcodeswrapper","last_synced_at":"2025-03-23T01:31:45.989Z","repository":{"id":57454280,"uuid":"32596641","full_name":"previousdeveloper/PythonPostcodesWrapper","owner":"previousdeveloper","description":"Simple wrapper around postcodes.io","archived":false,"fork":false,"pushed_at":"2018-07-27T14:56:43.000Z","size":11,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T16:22:32.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://api.postcodes.io/","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/previousdeveloper.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}},"created_at":"2015-03-20T17:09:25.000Z","updated_at":"2024-07-14T22:53:54.000Z","dependencies_parsed_at":"2022-08-29T15:00:12.954Z","dependency_job_id":null,"html_url":"https://github.com/previousdeveloper/PythonPostcodesWrapper","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/previousdeveloper%2FPythonPostcodesWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2FPythonPostcodesWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2FPythonPostcodesWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2FPythonPostcodesWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/previousdeveloper","download_url":"https://codeload.github.com/previousdeveloper/PythonPostcodesWrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044027,"owners_count":20551870,"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-11T01:44:34.338Z","updated_at":"2025-03-23T01:31:45.681Z","avatar_url":"https://github.com/previousdeveloper.png","language":"Python","readme":"# Postcodes.io\n[![Build Status](https://magnum-ci.com/status/0ba52677150f6f693976715c413e306b.png)](https://magnum-ci.com/projects/1719)\n\nA simple wrapper around [postcodes.io](http://postcodes.io/)\n\n\n## Installation\n------------\n\nTo install Postcode.io, simply:\n\n```python\n$ pip install postcode.io\n```\n    \n## Usage\n\n```python\nfrom lib import PostCodeClient\n```\n\nCreate new instance of the Postcodes\n\n```python\nclient = PostCodeClient()\n```\n\nLookup a postcode example\n```python\npostcode = client.getLookupPostCode('OX49 5NU')\n```\n\nLookup a postcode example\n```python\npostcode = client.getBulkReverseGecoding('{\n            \"geolocations\": [{\n                                 \"longitude\": 0.629834723775309,\n                                 \"latitude\": 0.629834723775309\n                             }, {\n                                 \"longitude\": -2.49690382054704,\n                                 \"latitude\": -2.49690382054704,\n                                 \"radius\": 1000,\n                                 \"limit\": 5\n                             }]\n        }')\n```\n\n\nFor more details see [the documentation on postcodes.io](http://postcodes.io/docs)\n## Contributing\n\nI am not expert in pyhton if you want to contribute please pull request :)\n\n\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousdeveloper%2Fpythonpostcodeswrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreviousdeveloper%2Fpythonpostcodeswrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousdeveloper%2Fpythonpostcodeswrapper/lists"}