Skip to content
forked from ninoseki/ExUrlscan

urlscan.io API wrapper for Elixir

License

Notifications You must be signed in to change notification settings

fja43/ExUrlscan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExUrlscan

Hex.pm Build Status Coverage Status Codacy Badge

Description

Elixir API client for urlscan.io.

Installation

Add ExUrlscan to your list of dependencies in mix.exs:

def deps do
  [{:ex_urlscan, "~> 0.1"}]
end

Pass your API key via the mix configuration:

config :ex_urlscan,
  api_key: "YOUR_API_KEY"

Or, pass the API key via URLSCAN_API_KEY environment variable.

export URLSCAN_API_KEY="YOUR_API_KEY"

Usage

uuid = "xxx"

# result
ExUrlscan.V1.Client.result(uuid)

# dom
ExUrlscan.V1.Client.dom(uuid)

# search
ExUrlscan.V1.Client.search(q: "domain:urlscan.io")

# scan
ExUrlscan.V1.Client.scan("http://github.com")
ExUrlscan.V1.Client.scan("http://github.com", public: "off")

TODO

  • Structuring responses
  • More solid input validations

About

urlscan.io API wrapper for Elixir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%