Changed from curl to file_get_contents, which allows the library to be used on the Google App Engine platform.