Android-Releases
view release on metacpan or search on metacpan
lib/Android/Releases.pm view on Meta::CPAN
Android::Releases - List Android releases
=head1 VERSION
This document describes version 0.020 of Android::Releases (from Perl distribution Android-Releases), released on 2017-11-03.
=head1 SYNOPSIS
use Android::Releases;
my $res = list_android_releases(detail=>1);
# raw data is in $Android::Releases::data;
=head1 DESCRIPTION
This module contains list of Android releases. Data source is currently at:
https://github.com/perlancar/gudangdata (table/android_release).
=head1 FUNCTIONS
=head2 list_android_releases
Usage:
list_android_releases(%args) -> [status, msg, result, meta]
Android releases.
REPLACE ME
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
=over 4
=item * B<api_level> => I<int>
Only return records where the 'api_level' field equals specified value.
=item * B<api_level.in> => I<array[int]>
Only return records where the 'api_level' field is in the specified values.
=item * B<api_level.is> => I<int>
Only return records where the 'api_level' field equals specified value.
=item * B<api_level.isnt> => I<int>
Only return records where the 'api_level' field does not equal specified value.
=item * B<api_level.max> => I<int>
Only return records where the 'api_level' field is less than or equal to specified value.
=item * B<api_level.min> => I<int>
Only return records where the 'api_level' field is greater than or equal to specified value.
=item * B<api_level.not_in> => I<array[int]>
Only return records where the 'api_level' field is not in the specified values.
=item * B<api_level.xmax> => I<int>
Only return records where the 'api_level' field is less than specified value.
=item * B<api_level.xmin> => I<int>
Only return records where the 'api_level' field is greater than specified value.
=item * B<code_name> => I<str>
Only return records where the 'code_name' field equals specified value.
=item * B<code_name.contains> => I<str>
Only return records where the 'code_name' field contains specified text.
=item * B<code_name.in> => I<array[str]>
Only return records where the 'code_name' field is in the specified values.
=item * B<code_name.is> => I<str>
Only return records where the 'code_name' field equals specified value.
=item * B<code_name.isnt> => I<str>
Only return records where the 'code_name' field does not equal specified value.
=item * B<code_name.max> => I<str>
Only return records where the 'code_name' field is less than or equal to specified value.
=item * B<code_name.min> => I<str>
Only return records where the 'code_name' field is greater than or equal to specified value.
=item * B<code_name.not_contains> => I<str>
Only return records where the 'code_name' field does not contain specified text.
=item * B<code_name.not_in> => I<array[str]>
Only return records where the 'code_name' field is not in the specified values.
=item * B<code_name.xmax> => I<str>
Only return records where the 'code_name' field is less than specified value.
=item * B<code_name.xmin> => I<str>
Only return records where the 'code_name' field is greater than specified value.
=item * B<detail> => I<bool> (default: 0)
Return array of full records instead of just ID fields.
By default, only the key (ID) field is returned per result entry.
=item * B<fields> => I<array[str]>
Select fields to return.
=item * B<query> => I<str>
Search.
=item * B<random> => I<bool> (default: 0)
Return records in random order.
=item * B<reldate> => I<date>
Only return records where the 'reldate' field equals specified value.
=item * B<reldate.in> => I<array[date]>
Only return records where the 'reldate' field is in the specified values.
=item * B<reldate.is> => I<date>
Only return records where the 'reldate' field equals specified value.
=item * B<reldate.isnt> => I<date>
Only return records where the 'reldate' field does not equal specified value.
=item * B<reldate.max> => I<date>
Only return records where the 'reldate' field is less than or equal to specified value.
=item * B<reldate.min> => I<date>
Only return records where the 'reldate' field is greater than or equal to specified value.
=item * B<reldate.not_in> => I<array[date]>
Only return records where the 'reldate' field is not in the specified values.
=item * B<reldate.xmax> => I<date>
Only return records where the 'reldate' field is less than specified value.
=item * B<reldate.xmin> => I<date>
Only return records where the 'reldate' field is greater than specified value.
=item * B<result_limit> => I<int>
Only return a certain number of records.
=item * B<result_start> => I<int> (default: 1)
Only return starting from the n'th record.
=item * B<sort> => I<array[str]>
Order records according to certain field(s).
A list of field names separated by comma. Each field can be prefixed with '-' to
specify descending order instead of the default ascending.
=item * B<version> => I<str>
Only return records where the 'version' field equals specified value.
=item * B<version.contains> => I<str>
Only return records where the 'version' field contains specified text.
=item * B<version.in> => I<array[str]>
Only return records where the 'version' field is in the specified values.
=item * B<version.is> => I<str>
Only return records where the 'version' field equals specified value.
=item * B<version.isnt> => I<str>
Only return records where the 'version' field does not equal specified value.
=item * B<version.max> => I<str>
Only return records where the 'version' field is less than or equal to specified value.
=item * B<version.min> => I<str>
Only return records where the 'version' field is greater than or equal to specified value.
=item * B<version.not_contains> => I<str>
Only return records where the 'version' field does not contain specified text.
=item * B<version.not_in> => I<array[str]>
Only return records where the 'version' field is not in the specified values.
=item * B<version.xmax> => I<str>
Only return records where the 'version' field is less than specified value.
=item * B<version.xmin> => I<str>
Only return records where the 'version' field is greater than specified value.
=item * B<with_field_names> => I<bool>
Return field names in each record (as hash/associative array).
When enabled, function will return each record as hash/associative array
(field name => value pairs). Otherwise, function will return each record
as list/array (field value, field value, ...).
=back
Returns an enveloped result (an array).
First element (status) is an integer containing HTTP status code
(200 means OK, 4xx caller error, 5xx function error). Second element
(msg) is a string containing error message, or 'OK' if status is
200. Third element (result) is optional, the actual result. Fourth
element (meta) is called result metadata and is optional, a hash
that contains extra information.
Return value: (any)
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/Android-Releases>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-Android-Releases>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Android-Releases>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 SEE ALSO
L<Debian::Releases>
L<Ubuntu::Releases>
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
( run in 0.448 second using v1.01-cache-2.11-cpan-e1769b4cff6 )