Skip to content

Instantly share code, notes, and snippets.

@mimeoconnect
Created September 9, 2011 06:28
Show Gist options
  • Save mimeoconnect/1205610 to your computer and use it in GitHub Desktop.
Save mimeoconnect/1205610 to your computer and use it in GitHub Desktop.
Doc APIs - Poster - Order Status (GET)
import urllib2
# Order Status
userid = "[your user id]"
userkey = "[your user key]"
orderId = "00-3004-00150-42447"
format = "JSON"
environment = "Sandbox"
mimeouser = ""
mimeopass = ""
url = 'https://developer.mimeo.com/orderstatus/?'
url += "userid=" + userid
url += "userkey=" + userkey
url += "orderId=" + orderId
url += "format=" + format
url += "environment=" + environment
url += "mimeouser=" + mimeouser
url += "mimeopass=" + mimeopass}
response = urllib2.urlopen(url).read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment