Skip to content
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

Merged
merged 4 commits into from
Oct 2, 2018
Merged

Draft 3.0 release #12

merged 4 commits into from
Oct 2, 2018

Conversation

bmd
Copy link
Contributor

@bmd bmd commented Oct 10, 2016

No description provided.

@bmd bmd added this to the 3.0 Release milestone Oct 10, 2016
Copy link
Contributor

@nickcatal nickcatal left a 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/'
)
Copy link
Contributor

@nickcatal nickcatal Feb 21, 2017

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
Copy link
Contributor

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

@nickcatal
Copy link
Contributor

This is awesome, other than a few doc issues this is far easier to deal with than the old API format.

@tomkel5 tomkel5 merged commit 166dab8 into bluestatedigital:3.0 Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants