Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Last active October 19, 2016 02:41
Show Gist options
  • Select an option

  • Save nmcspadden/75077d6c22086cbccf1b7d8727adbc02 to your computer and use it in GitHub Desktop.

Select an option

Save nmcspadden/75077d6c22086cbccf1b7d8727adbc02 to your computer and use it in GitHub Desktop.
adobe_tools start
#!/usr/bin/python
"""Adobe API tools."""
import sys
import time
import json
import os
try:
import jwt
import requests
except ImportError:
sys.exit(0)
if sys.version_info[0] == 2:
from ConfigParser import RawConfigParser
from urllib import urlencode
from urllib import quote
if sys.version_info[0] >= 3:
from configparser import RawConfigParser
from urllib.parse import urlencode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment