NAME
Android::Releases - List Android releases
VERSION
This document describes version 0.020 of Android::Releases (from Perl distribution Android-Releases), released on 2017-11-03.
SYNOPSIS
use Android::Releases;
my $res = list_android_releases(detail=>1);
# raw data is in $Android::Releases::data;
DESCRIPTION
This module contains list of Android releases. Data source is currently at: https://github.com/perlancar/gudangdata (table/android_release).
FUNCTIONS
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):
api_level => int
Only return records where the 'api_level' field equals specified value.
api_level.in => array[int]
Only return records where the 'api_level' field is in the specified values.
api_level.is => int
Only return records where the 'api_level' field equals specified value.
api_level.isnt => int
Only return records where the 'api_level' field does not equal specified value.
api_level.max => int
Only return records where the 'api_level' field is less than or equal to specified value.
api_level.min => int
Only return records where the 'api_level' field is greater than or equal to specified value.
api_level.not_in => array[int]
Only return records where the 'api_level' field is not in the specified values.
api_level.xmax => int
Only return records where the 'api_level' field is less than specified value.
api_level.xmin => int
Only return records where the 'api_level' field is greater than specified value.
code_name => str
Only return records where the 'code_name' field equals specified value.
code_name.contains => str
Only return records where the 'code_name' field contains specified text.
code_name.in => array[str]
Only return records where the 'code_name' field is in the specified values.
code_name.is => str
Only return records where the 'code_name' field equals specified value.
code_name.isnt => str
Only return records where the 'code_name' field does not equal specified value.
code_name.max => str
Only return records where the 'code_name' field is less than or equal to specified value.
code_name.min => str
Only return records where the 'code_name' field is greater than or equal to specified value.
code_name.not_contains => str
Only return records where the 'code_name' field does not contain specified text.
code_name.not_in => array[str]
Only return records where the 'code_name' field is not in the specified values.
code_name.xmax => str
Only return records where the 'code_name' field is less than specified value.
code_name.xmin => str
Only return records where the 'code_name' field is greater than specified value.
detail => 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.
fields => array[str]
Select fields to return.
query => str
Search.
random => bool (default: 0)
Return records in random order.
reldate => date
Only return records where the 'reldate' field equals specified value.
reldate.in => array[date]
Only return records where the 'reldate' field is in the specified values.
reldate.is => date
Only return records where the 'reldate' field equals specified value.
reldate.isnt => date
Only return records where the 'reldate' field does not equal specified value.
reldate.max => date
Only return records where the 'reldate' field is less than or equal to specified value.
reldate.min => date
Only return records where the 'reldate' field is greater than or equal to specified value.
reldate.not_in => array[date]
Only return records where the 'reldate' field is not in the specified values.
reldate.xmax => date
Only return records where the 'reldate' field is less than specified value.
reldate.xmin => date
Only return records where the 'reldate' field is greater than specified value.
result_limit => int
Only return a certain number of records.
result_start => int (default: 1)
Only return starting from the n'th record.
sort => 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.
version => str
Only return records where the 'version' field equals specified value.
version.contains => str
Only return records where the 'version' field contains specified text.
version.in => array[str]
Only return records where the 'version' field is in the specified values.
version.is => str
Only return records where the 'version' field equals specified value.
version.isnt => str
Only return records where the 'version' field does not equal specified value.
version.max => str
Only return records where the 'version' field is less than or equal to specified value.
version.min => str
Only return records where the 'version' field is greater than or equal to specified value.
version.not_contains => str
Only return records where the 'version' field does not contain specified text.
version.not_in => array[str]
Only return records where the 'version' field is not in the specified values.
version.xmax => str
Only return records where the 'version' field is less than specified value.
version.xmin => str
Only return records where the 'version' field is greater than specified value.
with_field_names => 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, ...).
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)
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Android-Releases.
SOURCE
Source repository is at https://github.com/perlancar/perl-Android-Releases.
BUGS
Please report any bugs or feature requests on the bugtracker website 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.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017, 2015 by perlancar@cpan.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.