WebService::DetectLanguage::AccountStatus - holds account status from detectlanguage.com
my $status = $api->account_status();
printf "language = %s\n", $status->date;
printf "requests = %d\n", $result->requests;
printf "plan = %s\n", $result->plan;
printf "status = %s\n", $result->status;
This module is a class for data objects returned by the account_status() method of WebService::DetectLanguage.
See the documentation of that module for more details.
Today's date, in ISO 8601 format (YYYY-MM-DD), for the UTC timezone.
The number of requests sent today.
Text bytes sent today.
The text code for the plan you're on. A list of the supported plans can be seen at https://detectlanguage.com/plans.
The date when your plan will expire. This will be undef is there's no planned expiry.
The maximum number of requests you can make in a day.
The number of bytes you can send per day.
A text string giving the status for your account.
WebService::DetectLanguage the main module for talking to the language detection API at detectlanguage.com.
https://detectlanguage.com/documentation#account-status the API's documentation for the account status method.
Neil Bowers <email@example.com>
This software is copyright (c) 2019 by Neil Bowers <firstname.lastname@example.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 WebService::DetectLanguage, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.