CensysEx.API (censys_ex v1.1.0) View Source

Base Wrapper for search.censys.io v2 APIs

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the CensysEx.API. Pulls in API ID & secret from the env variables CENSYS_API_ID & CENSYS_API_SECRET

Starts the CensysEx.API process

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Starts the CensysEx.API. Pulls in API ID & secret from the env variables CENSYS_API_ID & CENSYS_API_SECRET

Examples

iex(1)> # CENSYS_API_ID environment var not set
iex(2)> CensysEx.API.start_link
{:error, "CENSYS_API_ID missing!"}

Starts the CensysEx.API process

Examples

{:ok, _} = CensysEx.API.start_link("***********", "***********")