diff options
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | getgbook.c | 7 | ||||
-rw-r--r-- | util.c | 1 |
4 files changed, 6 insertions, 9 deletions
@@ -9,3 +9,8 @@ to be fast and efficient it's best to crank through all the json 1st, filling in could consider making a json reading module, ala confoo, to make ad-hoc memory structures from json to be super fast we could have 2 threads, one filling the pages structs and one consuming them. this would complicate the code rather, though + +NOTE: there's now a new api that returns json. +it requires https, which we don't yet support. +https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126 +https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC @@ -6,7 +6,7 @@ PREFIX = /usr/local # flags CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" -LDFLAGS = -static +LDFLAGS = -static #-s # compiler and linker CC = musl-gcc @@ -1,11 +1,4 @@ /* See COPYING file for copyright, license and warranty details. */ - -/* NOTE: there's now a new api that returns json. - * it requires https, which we don't yet support. - * https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126 - * https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC */ - - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1,5 +1,4 @@ /* See COPYING file for copyright, license and warranty details. */ - #include <unistd.h> #include <netdb.h> #include <netinet/in.h> |