-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft 3.0 release #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few changes to the readme
'MY_API_ID', | ||
'MY_API_SECRET', | ||
'https://my.tools.url.net/' | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of the args and object creation step is incorrect in the docs here
It should be
client = BsdApiClient(
'https://my.tools.url.net/',
'MY_API_ID',
'MY_API_SECRET'
)
# list constituent groups | ||
resp = client.get('cons_group/list_constituent_groups') | ||
|
||
print resp.status # 200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Response
objects don't have a status
attribute. This should be
print resp.status_code
This is awesome, other than a few doc issues this is far easier to deal with than the old API format. |
No description provided.