Net::OneSky - Simple interface to the OneSky API: http://developer.oneskyapp.com/
version 0.0.3
use Net::OneSky; my $client = Net::OneSky->new(api_key => $key, api_secret => $secret); my $response = $client->get('/1/locales'); my $project = $client->project($project_id); 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)
Returns a Net::OneSky::Project object for the given $project_id
GET an authenticated API request.
POST an authenticated File upload request. $post_data should be a standard format for a file-upload. More information in the LWP Cookbook
Returns a new data object with authentication params added.
Erik Ogan <erik@change.org>
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.
To install Net::OneSky, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OneSky
CPAN shell
perl -MCPAN -e shell install Net::OneSky
For more information on module installation, please visit the detailed CPAN module installation guide.