SwotEx v1.0.1 SwotEx View Source

Identify email addresses or domains names that belong to colleges or universities.

Link to this section Summary

Functions

Returns name of institution belonging to the email address or domain name given, nil if the institution was not found

Returns whether the given email address or domain name is used by an academic institution or not

Link to this section Functions

Link to this function institution_name(domain) View Source
institution_name(String.t() | nil) :: nil | String.t()

Returns name of institution belonging to the email address or domain name given, nil if the institution was not found

Examples

iex> SwotEx.institution_name("stanford.edu")
"Stanford University"

iex> SwotEx.institution_name("lreilly@fadi.at")
"BRG Fadingerstraße Linz, Austria"
Link to this function is_academic?(domain) View Source
is_academic?(String.t() | nil) :: boolean()

Returns whether the given email address or domain name is used by an academic institution or not

Examples

iex> SwotEx.is_academic?("stanford.edu")
true

iex> SwotEx.is_academic?("lreilly@fadi.at")
true