Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Basic urllib

View gist:1629811
1 2 3 4 5 6 7 8 9 10 11 12 13 14
from urllib2 import Request, urlopen
from urllib import urlencode, quote
import json
nodesTAG = "/nodes" # added onto baseURL
# place following function code in here
## main
if __name__ == "__main__":#
keydata = urlencode((app_key, user_access_key))
success, nodes = get_manufacturing_nodes(baseURL, keydata)
if success:
print success, nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.