GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::FRESHBOOKS::API::LANGUAGE (3)

.ds Aq ’

NAME

Net::FreshBooks::API::Language - List the languages your FreshBooks account supports

CONTENTS

VERSION

version 0.24

SYNOPSIS



    my $fb = Net::FreshBooks::API->new(...);
    my $languages = $fb->language->get_all();



    list

Returns an Net::FreshBooks::API::Iterator object. Currently, all list() functionality defaults to 15 items per page.

On a practical level, you’ll never want to use this method. get_all() will provide you with what you need.

    get_all

Returns an ARRAYREF of all possible results, handling pagination for you.



    my $languages = $fb->language->get_all;
    foreach my $language( @{ $languages } ) {
        print $language->name,  , $language->code, "\n";
    }



DESCRIPTION

Returns a list of language names and the corresponding codes that you can use for clients, invoices and estimates. The codes are from IETF RFC 5646, which is usually the two-letter ISO-639-1 code. See <http://developers.freshbooks.com/docs/languages/> for more info.

You should note that there is no get method for Language as the API does not provide it.

AUTHORS

o Edmund von der Burg <evdb@ecclestoad.co.uk>
o Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Edmund von der Burg & Olaf Alders.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::FRESHBOOKS::API::LANGUAGE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.