NAME
Net::OneSky - Simple interface to the OneSky API: http://developer.oneskyapp.com/
VERSION
version 0.0.2
SYNOPSIS
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)
METHODS
project($project_id)
Returns a Net::OneSky::Project object for the given $project_id
get($uri, $query_data)
GET an authenticated API request.
file_upload($uri, $post_data)
POST an authenticated File upload request. $post_data should be a standard format for a file-upload. More information in the LWP Cookbook
authenticate($data)
Returns a new data object with authentication params added.
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.