Issuu

From Archiveteam
Revision as of 02:55, 5 December 2017 by CoolCanuck (talk | contribs) (→‎top: typos fixed: eg → e.g.)
Jump to navigation Jump to search


Issuu.com Data Model

 Username : sf.guardian
 # This is the issuu.com account
   
 Document Name: 49.02
 # This is the issuu.com publication name
  
 Document ID: 141007194746-7819f25a55f483150eb9462df2f4be34
 # This is the issuu.com URL component for a specific document 

Issuu.com API

  • Issuu.com uses a Flash viewer to stream JPEGS, but the iPhone App has access to the full pdfs
  • API URLs
 # Request PDF information for a given username and document name 49.02:
 http://publication.issuu.com/sf.guardian/49.02/ios_1.json
  
 # reveals all of the pdfUrls for each page of that issue, e.g. :
 # "pdfUrl": "http://page-pdf.issuu.com/141007194746-7819f25a55f483150eb9462df2f4be34/3.pdf"
  
 # NOTE: the covers are not pdfs, they are jpegs, and have null pdfUrl fields:
 # "jpgUrl": "http://image.issuu.com/141007194746-7819f25a55f483150eb9462df2f4be34/jpg/page_1.jpg"
 # Request Document ID for a given username and document name:
 http://api.issuu.com/query?action=issuu.document.get_user_doc&format=json&documentUsername=sf.guardian&name=49.02
   
  # "documentId":"141007194746-7819f25a55f483150eb9462df2f4be34",
 # Better s3 bucket URL for full original PDFs based on document ID
 http://s3.amazonaws.com/document.issuu.com/141014184412-c62aa490968318abf1d4684f9ec4f158/original.file?AWSAccessKeyId=AKIAJY7E3JMLFKPAGP7A&Expires=1413326827&Signature=m6kKoMNHg6sFa1J4nIWZvK23RAs%3D
 # not sure how to generate the signature though-- little help?

See also