The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::OneSky::Project - OneSky Project interface https://github.com/onesky/api-documentation-platform/blob/master/resources/project.md

VERSION

version 0.0.1

SYNOPSIS

    use Net::OneSky;

    my $project = $one_sky_client->project(42);

    my @languages = $project->locales

    my @files = $project->list_files

    $project->upload_file($filename, $file_format, $locale);

    my $file = $project->export_file($locale, $remote_file, $local_file_name, $block_until_finished)

METHODS

locales([$include_base_language])

Returns a list of locales in a project. By default this call skips the base language, but passing a true value as the first argument will cause it to be included.

list_files()

Returns a list of file names in a project

upload_file($filename, $file_format[, $locale])

Uploads a file in the given format. $locale is optional. If undefined, the file is assumed to be the base locale.

export_file($locale, $remote_file [, $local_file, $block_until_finished])

Downloads a file for the given locale.

AUTHOR

Erik Ogan <erik@change.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016-2018 by Change.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.