Skip to content

Make pull support all exportable types #14

@alexanderwallin

Description

@alexanderwallin

I need to download .po files for all languages in a project. The POEditor API supports a bunch of types through its /v2/projects/export endpoint.

Instead of having exporter functions for every single type (there are currently 15), we could have a generic one that simply accepts all types supported by POEditor, and:

  1. downloads whatever is on the URLs that the export endpoint returns, and then
  2. writes the content to a file with a filetype that matches the type.

If you think this is a good idea, I am happy to put together a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions