X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=bash%2FfindGoogleBooks.sh;fp=bash%2FfindGoogleBooks.sh;h=e0ecea8fc00c1405a4689761daca811126ccd73e;hb=5d3e10944016cc29129e9f429a4f9ce1eacf5df9;hp=0000000000000000000000000000000000000000;hpb=f48bad52feb871bbba668e57ee14d8a341456463;p=gbooks diff --git a/bash/findGoogleBooks.sh b/bash/findGoogleBooks.sh new file mode 100755 index 0000000..e0ecea8 --- /dev/null +++ b/bash/findGoogleBooks.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Search googlebooks + +APP_KEY="AIzaSyBhXxun8ggcSd6kiJLi7FDrWnXYI8_vk6E"; +SEARCH_STR="$@"; +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")' +