Net::Async::Trello - low-level Trello API access
Provides a basic interface for interacting with the Trello webservice.
It's currently a very crude implementation, implementing a small subset of the available API features.
Returns profile information for the current user.
Returns a Ryu::Source representing the available boards.
Resolves to the board with the corresponding ID.
Takes the following named parameters:
id - the board ID to request
Returns a Future.
Returns information about a specific card.
id - the card ID to retrieve
id
Resolves to a Net::Async::Trello::Card instance.
Returns information about a specific person (board/card member).
id - the ID to retrieve
Resolves to a Net::Async::Trello::Member instance.
Performs a search for Trello objects by string, see https://developers.trello.com/reference/#search for details on search options available.
Example:
my (%result) = await $trello->search( card_fields => [ qw(name url dateLastActivity) ], query => 'Shopping List', ); # print the url of the first card returned. my $card = $result{cards}->[0]; # This should be a Net::Async::Trello::Card instance, so we have a ->url method: printf "Card %s url\n", $card->url;
Takes the arguments as shown in the Trello API documentation as named parameters.
The only compulsory argument is query, the text string to search for.
query
Returns a Future which resolves to a list of key-value pairs. The value will be an instance of the appropriate type, with the exception of options which is a plain hashref.
options
None of these are likely to be stable or of much use to external callers.
add_child, adopt_future, adopted_futures, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent
Tom Molesworth <TEAM@cpan.org> with contributions from @michaelmueller-binary.
@michaelmueller-binary
Copyright Tom Molesworth 2014-2020. Licensed under the same terms as Perl itself.
To install Net::Async::Trello, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Trello
CPAN shell
perl -MCPAN -e shell install Net::Async::Trello
For more information on module installation, please visit the detailed CPAN module installation guide.