Please read exacttarget api reference
You couldn't access resources without authorization. First you should request for an Access Token:
import json, requests
client_Id = "YOUR_CLIENT_ID_FROM_APP_CENTER"
client_Secret = "YOUR_CLIENT_SECRET_FROM_APP_CENTER"
payload = {
'clientId': client_Id,
'clientSecret': client_Secret
}
url = "https://auth.exacttargetapis.com/v1/requestToken";
r = requests.post(url,
headers={"Content-Type":"application/json"},
data=payload)
body = json.loads(r.content)
token = body["accessToken"]
expiresIn = body["expiresIn"]
print token
Now you can access your resources using Access Token:
url="https://www.exacttargetapis.com/hub/v1/campaigns?$page=1&$pageSize=2&$orderBy=Name ASC"
r = requests.get(url, headers = {"Authorization":"Bearer " + token})
print r.content
Before using Python, I recommend you to try Postman, it will help you to understand requests etc.