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

Supporting document downloads as JSON as well as XML #3

Open
psychemedia opened this issue Nov 29, 2019 · 0 comments
Open

Supporting document downloads as JSON as well as XML #3

psychemedia opened this issue Nov 29, 2019 · 0 comments

Comments

@psychemedia
Copy link

The getDocByIdAsXml() method allows us to download a document as either as a text string or as a parsed XML object.

It would be useful to generalise this as getDocById(), with an argument switch allowing the user to select xml | json and the bParse flag, when set, returning the etree XML object or a Python dict correspondingly.

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

No branches or pull requests

1 participant