first commit, shell scripts for google books search and download.
[gbooks] / bash / findGoogleBooks.sh
1 #!/bin/bash
2 # Search googlebooks
3
4 APP_KEY="AIzaSyBhXxun8ggcSd6kiJLi7FDrWnXYI8_vk6E";
5 SEARCH_STR="$@";
6 wget --no-check-certificate -U "Mozilla 5.0" -qO- "https://www.googleapis.com/books/v1/volumes?q=${SEARCH_STR}&key=${APP_KEY}" | grep -E '("title"|"id")'
7