Changed to use StringBuilder
Removed hard coded apiKey