Ruby class to search Google Books API and save formatted results to a YAML file