Skip to content

Supporting document downloads as JSON as well as XML #3

@psychemedia

Description

@psychemedia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions