Floowie - API

Publication Detail

action = publicationDetail

Retrieves detail information of a publication

 

key   value
 publicationid *  publication ID
 titleid **  title group ID
 date **  date of publication publish in format YYYY-MM-DD (or other format recognized by PHP function strtotime())
 lang  Language for categories and type
Possible values: sk, cs, en
Default: cs
 email  if this parameter is specified and valid (in encrypted form), the list returns additional keys 'bought' and 'favourite' with values 0 or 1, which specify, whether the user has bought or favourited the publication. If e-mail is provided, password must be provided as well.
 password  encrypted password of the user. It is encrypted the same way as the e-mail after it is processed through sha1() hash function.

* or ** - mandatory fields

Output

Array
(
 [bookId] => 1
 [name] => Publication Name
 [webName] => 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
 [titleId] => 10
 [titleId] => Title Group Name
 [type] => Book
 [categories] => Array
  (
   [0] => Fiction
   [1] => Education
  )
 [publishDate] => 2010-10-20 20:10:00
 [attachmentTo] => 1,2
 [attachments] => 3
 [attachmentList] => Array
  (
   [0] => Array
    (
     [bookId] => 100
     [name] => Publication Name
     [description] => This is text about the publication
     [imgUrl] => http://www.floowie.com/publication/thumbnail.png
     [adult] => 1
    )
  )
 [previewPages] => 1,3,5,10
 [promotion] => 2
)