{"id":18309202,"url":"https://github.com/bryanjos/open_location_code","last_synced_at":"2025-07-30T08:06:45.150Z","repository":{"id":62430184,"uuid":"209383139","full_name":"bryanjos/open_location_code","owner":"bryanjos","description":"An implementation of Google's Open Location Code in Elixir","archived":false,"fork":false,"pushed_at":"2019-10-13T22:35:07.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T13:56:40.256Z","etag":null,"topics":["elixir","geospatial"],"latest_commit_sha":null,"homepage":"","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/bryanjos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-18T18:59:36.000Z","updated_at":"2023-01-13T23:14:05.000Z","dependencies_parsed_at":"2022-11-01T20:00:27.921Z","dependency_job_id":null,"html_url":"https://github.com/bryanjos/open_location_code","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/bryanjos%2Fopen_location_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanjos%2Fopen_location_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanjos%2Fopen_location_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanjos%2Fopen_location_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanjos","download_url":"https://codeload.github.com/bryanjos/open_location_code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247375238,"owners_count":20928984,"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","geospatial"],"created_at":"2024-11-05T16:10:33.189Z","updated_at":"2025-04-05T17:32:31.889Z","avatar_url":"https://github.com/bryanjos.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLocationCode\n\n[![Build Status](https://travis-ci.com/bryanjos/open_location_code.svg?branch=master)](https://travis-ci.com/bryanjos/open_location_code)\n\nAn implementation of Google's [Open Location Code](https://github.com/google/open-location-code) in Elixir\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `open_location_code` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:open_location_code, \"~\u003e 1.0.0\"}\n  ]\nend\n```\n\n### Usage\n\n```elixir\niex(1)\u003e OpenLocationCode.encode(47.0000625,8.0000625)\n{:ok, \"8FVC2222+22\"}\n\niex(2)\u003e OpenLocationCode.decode(\"8FVC2222+22\")\n{:ok,\n %OpenLocationCode.CodeArea{\n   code_length: 10,\n   latitude_center: 47.0000625,\n   latitude_height: 1.25e-4,\n   longitude_center: 8.0000625,\n   longitude_width: 1.25e-4,\n   south_latitude: 47.0,\n   west_longitude: 8.0\n }}\n\niex(3)\u003e OpenLocationCode.valid?(\"8FVC2222+22\")\ntrue\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/open_location_code](https://hexdocs.pm/open_location_code).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanjos%2Fopen_location_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanjos%2Fopen_location_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanjos%2Fopen_location_code/lists"}