Skip to content

SirFitz/Debounce-Elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debounce

Installation

If available in Hex, the package can be installed by adding debounce_elixir to your list of dependencies in mix.exs:

def deps do
  [
    {:debounce_elixir, "~> 0.1.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/debounce_elixir.

Use

Your configuration will need to know your api key, and any other options eg. photo.

# config/config.exs
config :debounce_elixir,
  api: "<API_KEY>",
  photo: true

Verify an email address

Debounce.verify("[email protected]")
{:ok,
 %{
   "photo" => "https://cdn.debounce.io/j3qPRRUBgdrRz9TyNyyZh2ilfAB-EztFQY_Y0g5w_hTb2BvmWOGlroUuj9czIq-Xi51D_Z_RqtUlxCw76Rz4bYYdAPqziTsytZKiV6_gRWQ0y5Rlqstp0r6V3m_hJTYx6WHpKMnceGbIakF71mC505A1ROdZTNgEvLR85rTy--Fvllc1f3QGl0VfLBThqAqixILrBqKZAZNGD5xporjVLg==",
   "status" => "safe",
   "suggestion" => ""
 }, "[email protected]"}

About

A Debounce API Wrapper written in Elixir for Email Validation

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages