Library
action = library
Retrieves a list of bought, shared, favourited and owned publications of a user.
key | value |
---|---|
email * | encrypted e-mail in valid form |
filter | show only specified group of publications Possible values: b (bought), s (shared), f (favourited), o (own) it is possible to combine the values ('' = 'bsfo') |
detail | specifies, whether function returns more detailed information possible values: 0,1 (default: 1) |
dateFrom | lower boundary of publication (in unix timestamp format) |
dateTo | upper boundary of publication (in unix timestamp format) |
page | page number |
order | decreasing ordering of the output Possible values: date, view, rating Default value: date |
password * | encrypted password of the user. It is encrypted the same way as the e-mail after it is processed through sha1() hash function. |
* - mandatory fields
Output
Array
(
[0] => Array
(
[bookId] => 1
[name] => Publication Name
[rating] => 4.5
[price] => 4.62 EUR
[description] => "Detailed publication description"
[publisher] => "Publisher a.s."
[views] => 100
[pages] => 24
[imgUrl] => http://www.floowie.com/publication/thumbnail.png
[isShared] => 0
[isFavourite] => 1
[isBought] => 0
[isOwn] => 1
[adult] => 0
)
)