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

ASnake update of API code #1

Open
wants to merge 2 commits into
base: uva-2018
Choose a base branch
from

Conversation

pobocks
Copy link

@pobocks pobocks commented Aug 1, 2018

This is kind of a rough pass, and I did a few other changes which are doc'd in the commit message.

Overall, it's not a big change - it's all using the client, which just mainly handles baseurl, auth, and paging for one.

It's not tested yet - I'm putting this up more for you to look at than to merge, if that makes sense? Please let me know if you have any issues/comments!

- authorize and secrets are gone, ASnake auth with default values
  assumed for now

- places where json is built up as raw strings replaced with
  json.dumps (filter queries)

- rather than using data=json.dumps(thing), json=thing has been
  preferred

- some whitespace changes standardizing on 4-space tab stops
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.

1 participant