Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An OpenCage Geocoder API wrapper written in Elixir

License

NotificationsYou must be signed in to change notification settings

dsantosmerino/open-cagex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI statusHex Version

An OpenCage Geocoder API wrapper written in Elixir

Installation

  1. Addopen_cagex to your list of dependencies inmix.exs:
defdepsdo[{:open_cagex,"~> 0.1.0"}]end

Usage

iex>OpenCagex.set_api_key("YOUR API KEY"):okiex>OpenCagex.geocode("Passatge de la Pau, Barcelona"){:ok,%{"lat"=>41.3778504,"lng"=>2.1778608}}iex>OpenCagex.reverse(41.3780845,2.1751182){:ok,"Moog, Carrer de l'Arc del Teatre, 3, 08001 Barcelona, Spain"}

Documentation can be found onHexDocs.

Running locally

Clone the repository

git clone git@github.com:dsantosmerino/open-cagex.git

Install dependencies

cd open_cagexmix deps.get

To run the tests

mixtest

To run the lint

mixcredo

About

An OpenCage Geocoder API wrapper written in Elixir

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp