{"id":17087962,"url":"https://github.com/dsantosmerino/open-cagex","last_synced_at":"2025-04-12T21:08:51.394Z","repository":{"id":55984497,"uuid":"94828334","full_name":"dsantosmerino/open-cagex","owner":"dsantosmerino","description":"An OpenCage Geocoder API wrapper written in Elixir","archived":false,"fork":false,"pushed_at":"2023-03-29T18:04:50.000Z","size":49,"stargazers_count":18,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T21:08:33.248Z","etag":null,"topics":["elixir","elixir-phoenix","geocoding-api","hex"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/open_cagex","language":"Elixir","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/dsantosmerino.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":"2017-06-19T23:07:37.000Z","updated_at":"2025-01-27T06:36:24.000Z","dependencies_parsed_at":"2024-11-07T16:03:20.306Z","dependency_job_id":"81f33543-524e-4b72-b068-4edca1f0f119","html_url":"https://github.com/dsantosmerino/open-cagex","commit_stats":{"total_commits":18,"total_committers":5,"mean_commits":3.6,"dds":0.5,"last_synced_commit":"06736ef945c9cf239f83293bfb56f3849cd2c882"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsantosmerino%2Fopen-cagex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsantosmerino%2Fopen-cagex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsantosmerino%2Fopen-cagex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsantosmerino%2Fopen-cagex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsantosmerino","download_url":"https://codeload.github.com/dsantosmerino/open-cagex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631676,"owners_count":21136562,"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":["elixir","elixir-phoenix","geocoding-api","hex"],"created_at":"2024-10-14T13:35:34.496Z","updated_at":"2025-04-12T21:08:51.350Z","avatar_url":"https://github.com/dsantosmerino.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCagex\n[![CI status](https://github.com/dsantosmerino/open-cagex/actions/workflows/ci.yml/badge.svg)](https://github.com/dsantosmerino/open-cagex/actions/workflows/ci.yml)\n[![Hex Version](https://img.shields.io/hexpm/v/open_cagex.svg)](https://hex.pm/packages/open_cagex)\n\nAn OpenCage Geocoder API wrapper written in Elixir\n\n## Installation\n\n  1. Add `open_cagex` to your list of dependencies in `mix.exs`:\n\n  ```elixir\n  def deps do\n    [{:open_cagex, \"~\u003e 0.1.0\"}]\n  end\n  ```\n\n## Usage\n\n```elixir\niex\u003e OpenCagex.set_api_key(\"YOUR API KEY\")\n:ok\niex\u003e OpenCagex.geocode(\"Passatge de la Pau, Barcelona\")\n{:ok, %{\"lat\" =\u003e 41.3778504, \"lng\" =\u003e 2.1778608}}\n\niex\u003e OpenCagex.reverse(41.3780845, 2.1751182)\n{:ok, \"Moog, Carrer de l'Arc del Teatre, 3, 08001 Barcelona, Spain\"}\n```\n\nDocumentation can be found on [HexDocs](https://hexdocs.pm/open_cagex).\n\n## Running locally\n\nClone the repository\n```bash\ngit clone git@github.com:dsantosmerino/open-cagex.git\n```\n\nInstall dependencies\n```bash\ncd open_cagex\nmix deps.get\n```\n\nTo run the tests\n```bash\nmix test\n```\n\nTo run the lint\n```elixir\nmix credo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsantosmerino%2Fopen-cagex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsantosmerino%2Fopen-cagex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsantosmerino%2Fopen-cagex/lists"}