$expdelay
$expdelay
string $expdelay Lifetime of the request/links
Paperturn API Class
Show your Paperturn publications directly on your webpage.
getPublications(string $search_for, string $sortby, integer $limit_start, integer $limit_end, boolean $get_pages) : array
Get a list of publications
string | $search_for |
String to search for in title and description |
string | $sortby |
Sort the list by Id, Title, Private, PublishDate, Language |
integer | $limit_start | Start listing from index |
integer | $limit_end | Length of list items from start index |
boolean | $get_pages | Include pages data in the result |
| false
getUnsecuredUrl(integer $pub_id, integer $page_nr, integer $expdelay) : void
Get unsecured Url (no login / no IP check) to a private publication
integer | $pub_id | Publication's ID |
integer | $page_nr | (optional) Direct Url to a page |
integer | $expdelay | (optional) Lifetime of the generated Url |