get_apikey function

Get value of algaebase API key from Environment variable Return an error if variable not set.