Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - hykw/japan_municipality_key: Elixir Library for Japan municipality key converting
Elixir Library for Japan municipality key converting - hykw/japan_municipality_key
Visit SiteGitHub - hykw/japan_municipality_key: Elixir Library for Japan municipality key converting
Elixir Library for Japan municipality key converting - hykw/japan_municipality_key
Powered by 0x5a.live 💗
JapanMunicipalityCode
Elixir Library for Japan municipality key converting
Installation
If available in Hex, the package can be installed as:
-
Add japan_municipality_code to your list of dependencies in
mix.exs
:def deps do [{:japan_municipality_code, "~> 1.1.0"}] end
Usage
Converts pref code into pref name, or vice versa
iex> JapanMunicipalityCode.pref(1)
"北海道"
iex> JapanMunicipalityCode.pref(13)
"東京都"
iex> JapanMunicipalityCode.pref("青森県")
"02"
iex> JapanMunicipalityCode.pref("東京都")
"13"
iex> JapanMunicipalityCode.pref(99)
nil
iex> JapanMunicipalityCode.pref("xxx")
nil
iex> JapanMunicipalityCode.pref(nil)
nil
Gets the cities with pref code or pref name
iex> JapanMunicipalityCode.cities(999)
nil
iex> JapanMunicipalityCode.cities("xxx")
nil
iex> JapanMunicipalityCode.cities(nil)
nil
iex> (maps = [
...> %JapanMunicipalityCode.Cities{ code: "44201", name: "大分市" },
...> %JapanMunicipalityCode.Cities{ code: "44202", name: "別府市" },
...> %JapanMunicipalityCode.Cities{ code: "44203", name: "中津市" },
...> %JapanMunicipalityCode.Cities{ code: "44204", name: "日田市" },
...> %JapanMunicipalityCode.Cities{ code: "44205", name: "佐伯市" },
...> %JapanMunicipalityCode.Cities{ code: "44206", name: "臼杵市" },
...> %JapanMunicipalityCode.Cities{ code: "44207", name: "津久見市" },
...> %JapanMunicipalityCode.Cities{ code: "44208", name: "竹田市" },
...> %JapanMunicipalityCode.Cities{ code: "44209", name: "豊後高田市" },
...> %JapanMunicipalityCode.Cities{ code: "44210", name: "杵築市" },
...> %JapanMunicipalityCode.Cities{ code: "44211", name: "宇佐市" },
...> %JapanMunicipalityCode.Cities{ code: "44212", name: "豊後大野市" },
...> %JapanMunicipalityCode.Cities{ code: "44213", name: "由布市" },
...> %JapanMunicipalityCode.Cities{ code: "44214", name: "国東市" },
...> %JapanMunicipalityCode.Cities{ code: "44322", name: "姫島村" },
...> %JapanMunicipalityCode.Cities{ code: "44341", name: "日出町" },
...> %JapanMunicipalityCode.Cities{ code: "44461", name: "九重町" },
...> %JapanMunicipalityCode.Cities{ code: "44462", name: "玖珠町" },
...> ]) != nil
true
iex> JapanMunicipalityCode.cities(44)
maps
iex> JapanMunicipalityCode.cities("大分県")
maps
LICENSE
This software is released under the MIT License, see LICENSE.
Elixir Resources
are all listed below.
GitHub - hamiltop/structurez: A playground for data structures in Elixir
resource
~/github.com
resource
GitHub - noizu-labs-ml/elixir-weaviate: Weaviate Rest Wrapper for Elixir
resource
~/github.com
resource
GitHub - elpassion/sprint-poker: Online estimation tool for Agile teams.
resource
~/github.com
resource
GitHub - jarednorman/canada: Easy permission definitions in Elixir apps!
resource
~/github.com
resource
GitHub - yesmeck/hexdocset: Convert hex doc to Dash.app's docset format.
resource
~/github.com
resource
GitHub - fuelen/owl: A toolkit for writing command-line user interfaces.
resource
~/github.com
resource
GitHub - dashbitco/flow: Computational parallel flows on top of GenStage
resource
~/github.com
resource
GitHub - ueberauth/ueberauth_github: GitHub OAuth2 Strategy for Überauth
resource
~/github.com
resource
GitHub - pragmaticivan/logglix: 🎱 Logger backend app for Loggly requests
resource
~/github.com
resource
GitHub - jfrolich/smoothie: Beautiful emails for your elixir application
resource
~/github.com
resource
GitHub - mmmries/chunky_svg: An Elixir library for generating SVG images
resource
~/github.com
resource
GitHub - jsonmaur/phoenix-turnstile: Use Cloudflare Turnstile in Phoenix
resource
~/github.com
resource
GitHub - elixirstatus/phoenix_html_sanitizer: HTML Sanitizer for Phoenix
resource
~/github.com
resource
GitHub - meh/cauldron: I wonder what kind of Elixir is boiling in there.
resource
~/github.com
resource
GitHub - narrowtux/Tube: WebSocket client library written in pure Elixir
resource
~/github.com
resource
GitHub - Arp-G/pictionary: Picture guessing and drawing multiplayer game
resource
~/github.com
resource
GitHub - camshaft/world_json_ex: elixir module for the world in geo.json
resource
~/github.com
resource
GitHub - ikeikeikeike/exfavicon: Elixir library for discovering favicons
resource
~/github.com
resource
GitHub - kofigumbs/codec-beam: Generate Erlang VM byte code from Haskell
resource
~/github.com
resource
GitHub - gausby/bencode: A bencode encoder and decoder written in Elixir
resource
~/github.com
resource
GitHub - bradleyd/exgrid: Elixir library to interact with Sendgrid's API
resource
~/github.com
resource
GitHub - avitex/elixir-vultr: Simple wrapper for the Vultr API in Elixir
resource
~/github.com
resource
GitHub - mhinz/vim-mix-format: Vim integration for the Elixir formatter.
resource
~/github.com
resource
GitHub - 81dr/ex_changerate: Elixir client for exchangerate platform API
resource
~/github.com
resource
Made with ❤️
to provide different kinds of informations and resources.