Search
action = search
Retrieves a list of publications matching specified search string.
key | value |
---|---|
search * | search string |
type | publication type ID |
category | publication category ID |
country | publication country ID |
dateFrom | lower boundary of publication (in unix timestamp format) |
dateTo | upper boundary of publication (in unix timestamp format) |
page | page number |
publisherId | filter publications only from this publisher ID |
if this parameter is specified and valid (in encrypted form), the list returns additional key 'isBought' with values 0 or 1, which specify, whether the user has bought the publication and key 'isFavourite', which says that the publication is among favourites of the user. If e-mail is provided, password must be provided as well. |
* - 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
[adult] => 0
[promotion] => 2
)
)