epLogin and epLogout let you log in and out of enviPath, respectively. An account is required to use the enviPath API.
epLogin(username, password)
epLogout()A message upon successful login or logout.
if( is_active ){
# Perform login with your credentials
epLogin(username, password)
# Perform logout
epLogout()
}
#> Hi nature lover, welcome to enviPath!
#> Logged out successfully.