Skip to content

Add save_file util function #67

Description

@dgarciabriseno

Since many API calls return binary data like getJP2Image and downloadMovie, it would be good to have a function available to quickly save those to disk.

def save_file(data: bytearray, filename: str)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions