Last active
March 11, 2019 13:22
-
-
Save jrbail01/9d58e21c86310f94256b9249e403e63f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
ACCESS_KEY = "PLACE YOUR INITIAL STATE ACCESS KEY HERE" | |
BUCKET_KEY = "reqtest1" | |
BUCKET_NAME = "Python Test" | |
def createBucket(bucketKey, bucketName): | |
url = 'https://groker.init.st/api/buckets?accessKey=' + ACCESS_KEY + '&bucketKey=' + bucketKey + '&bucketName=' + bucketName | |
r = requests.get(url=url) | |
return r | |
r = createBucket(BUCKET_KEY, BUCKET_NAME) | |
print r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment