fixed documentation and removed hard-coded api key