You can get your API key by signing up at. This can be done by setting up the configuration for a Cloud Office Print server and passing it to the print job instance. The template and the data need to be sent to a Cloud Office Print server that merges both. Property ( name = 'text', value = 'This is an example created with the Cloud Office Print Python SDK' ) collection.
add ( title ) # Create the text element and add it to the element collection text = cop. Property ( name = 'title', value = 'Hello World!' ) collection. ElementCollection () # Create the title element and add it to the element collection title = cop. The data can be generated by the Python SDK: import cloudofficeprint as cop # Main object that holds the data collection = cop. Quickstart: Hello World example Template (docx) Data To see the JSON-data that is sent to the Cloud Office Print server, you can turn on verbose-mode by setting the argument cop_verbose to True when creating a PrintJob. This can be installed through your terminal: You also need to have the requests-library installed ( ). To install the Cloud Office Print Python package, you can type in your terminal: This project provides a Python interface for Cloud Office Print.