/GoodreadsApi

Goodreads API wrapper written in F#.

Primary LanguageF#GNU General Public License v3.0GPL-3.0

GoodreadsApi

Goodreads API wrapper written in F#.

Sample of Use: Authorize

let (authorizationUrl, token, tokenSecret) = getAuthorizationData clientKey clientSecret clientSideUrl

Sample of Use: Access Token (AccessData)

let (token, tokenSecret) = getAccessToken clientKey clientSecret authorizationToken authorizationTokenSecret
let accessData = getAccessData clientKey clientSecret token tokenSecret

Sample of Use: Get User (ID, Name)

let user = getUser accessData

Sample of Use: Get Reviews Count (Shelve = read)

let user = getUser accessData
let reviews = getReviewsCount accessData user.Id "read"

Sample of Use: Get Reviews Page (Shelve = read, Sort = date read, Reviews per page = 10, Page number = 13)

let user = getUser accessData
let reviews = getReviewsOnPage accessData user.Id "read" "date_read" 10 13

Sample of Use: Get Reviews (Shelve = read, Sort = date read)

let user = getUser accessData
let reviews = getAllReviews accessData user.Id "read" "date_read"

Sample of Use: Get Book detail (Book ID = 53732 (Frank Herbert: Dune))

let bookDetail = getBookDetail accessData 53732