{"id":16954891,"url":"https://github.com/jhowbhz/address-api","last_synced_at":"2025-06-29T03:38:20.397Z","repository":{"id":115816868,"uuid":"354646819","full_name":"jhowbhz/address-api","owner":"jhowbhz","description":"Is a simple API develop in PYTHON and Flask, to integration in LocationIQ for free user :)","archived":false,"fork":false,"pushed_at":"2021-04-04T22:49:36.000Z","size":5,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T00:42:13.490Z","etag":null,"topics":["api","api-address","free","python"],"latest_commit_sha":null,"homepage":"https://contrateumdev.com.br/","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/jhowbhz.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,"zenodo":null}},"created_at":"2021-04-04T21:06:41.000Z","updated_at":"2022-06-09T16:39:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f69a34b2-6586-4431-9199-6dbc870ab4df","html_url":"https://github.com/jhowbhz/address-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhowbhz/address-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhowbhz%2Faddress-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhowbhz%2Faddress-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhowbhz%2Faddress-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhowbhz%2Faddress-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhowbhz","download_url":"https://codeload.github.com/jhowbhz/address-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhowbhz%2Faddress-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262528536,"owners_count":23324574,"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","api-address","free","python"],"created_at":"2024-10-13T22:10:48.567Z","updated_at":"2025-06-29T03:38:20.390Z","avatar_url":"https://github.com/jhowbhz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Geolocation FreeAPI\nIs a simple API develop in PYTHON and Flask, to integration in LocationIQ for free user :)\n\n### How to teste API\n\nEndpoint demo Request GET:\n\n```\nhttps://address.contrateumdev.com.br/api/autocomplete?search=ana%20alvarenga%20campos,%20belo%20horizonte\n```\n\nResponse SUCCESS:\n\n```json\n{\n    \"address\": {\n        \"city\": \"Contagem\",\n        \"country\": \"Brazil\",\n        \"country_code\": \"br\",\n        \"county\": \"Microrregião Belo Horizonte\",\n        \"postcode\": \"32072330\",\n        \"road\": \"Rua Gaforina\",\n        \"state\": \"Minas Gerais\",\n        \"state_district\": \"Região Geográfica Intermediária de Belo Horizonte\",\n        \"suburb\": \"Petrolândia\"\n    },\n    \"boundingbox\": [\n        \"-19.9188292\",\n        \"-19.9179392\",\n        \"-44.1064442\",\n        \"-44.0996876\"\n    ],\n    \"display_name\": \"Região Metropolitana de Belo Horizonte, Região Geográfica Intermediária de Belo Horizonte, Minas Gerais, Southeast Region, 32072330, Brazil\",\n    \"lat\": \"-19.9183173\",\n    \"licence\": \"https://locationiq.com/attribution\",\n    \"lon\": \"-44.1001843\",\n    \"osm_id\": \"224298752\",\n    \"osm_type\": \"way\",\n    \"place_id\": \"141466939\"\n}\n```\n### How to consume API in $.POST Jquery\n\n```javascript\nfunction getData()\n{\n    $.post({\n        method: 'GET',\n        url: 'https://address.contrateumdev.com.br/api/autocomplete?search=ana%20alvarenga%20campos,%20belo%20horizonte',\n        success: function(resultado, status, xhr) {\n            if (resultado) {\n                console.log(resultado)\n            }else{\n                console.log(resultado)\n            }\n        },\n        error: function(data) {\n            console.log(data.error)\n        }\n    })\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhowbhz%2Faddress-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhowbhz%2Faddress-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhowbhz%2Faddress-api/lists"}