github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

zenbe / pyshareflow

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Python API for Shareflow — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added notes on xml.utils.iso8601 
talison (author)
Mon Oct 26 10:40:40 -0700 2009
commit  1036a9cc188e67a84404675f601c2a6241cfa040
tree    3b0e17732f9b0e082f8e95cf36ee21930187907a
parent  ddcbc1717798995065b618bf6ef5d1731e20a73e
pyshareflow / examples / google-docs
name age
history
message
..
file README.md Loading commit data...
file google_docs_example.py
examples/google-docs/README.md

Google Docs Example with Shareflow

This example uses the Google Docs (gdata) API to search for a document with a given name, then upload the matching document to Shareflow, along with a link to edit the document online.

Documents will be uploaded in the MS Office equivalent format, i.e. documents are uploads as '.doc' files, Spreadsheets as '.xls' files and Presentations as '.ppt' files.

Usage

Make sure pyshareflow.py can be found in a directory in your PYTHONPATH.

Edit the variables at the top of google_docs_example.py to reflect your Google and your Shareflow credentials. In particular, edit:

  • GOOGLE_LOGIN: Your Google Docs login
  • GOOGLE_PWD: Your Google Docs password
  • GOOGLE_ACT_TYPE: The account type: 'HOSTED'(Google Apps for your Domain) or 'GOOGLE' for regular accounts
  • SHAREFLOW_LOGIN: Your Shareflow login email
  • SHAREFLOW_PWD: Your Shareflow password
  • SHAREFLOW_DOMAIN: Your login domain (i.e 'mycompany.zenbe.com')

Running the example

After customizing as shown above, run the command as follows:

python google_docs_example.py -f 'My Flow' -d 'My Google Doc'

This will search for a Google Doc called 'My Google Doc' and upload it to a flow called 'My Flow'.

If the the flow or document does not exist, nothing will be uploaded.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server