Name : perl-WebService-TDWTF
| |
Version : 0.003
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 17:36:33
|
Group : Development/Libraries/Perl
| Source RPM : perl-WebService-TDWTF-0.003-lp154.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Retrieve Articles From Thedailywtf.Com
|
Description :
WebService::TDWTF is an interface to the API of http://thedailywtf.com. Quoting the website\'s sidebar:
Founded in 2004 by Alex Papadimoulis, The Daily WTF is your how-not-to guide for developing software. We recount tales of disastrous development, from project management gone spectacularly bad to inexplicable coding choices.
This module exports the following functions:
* *tdwtf_article*()
* *tdwtf_article*(_$id_or_slug_)
* *article*()
* *article*(_$id_or_slug_)
With an argument, returns a WebService::TDWTF object representing the article with the given ID or slug.
With no arguments, returns a WebService::TDWTF object representing a random article.
* *tdwtf_list_recent*()
* *tdwtf_list_recent*(_$count_)
* *tdwtf_list_recent*(_$year_, _$month_)
* *list_recent*()
* *list_recent*(_$count_)
* *list_recent*(_$year_, _$month_)
With no arguments, returns the most recent 8 articles.
With one argument, returns the most recent _$count_ articles. _$count_ is at most 100.
With two arguments, returns all articles published in the given month of the given year. _$month_ is an integer between 1 and 12.
* *tdwtf_list_series*(_$slug_)
* *tdwtf_list_series*(_$slug_, _$count_)
* *tdwtf_list_series*(_$slug_, _$year_, _$month_)
* *list_series*(_$slug_)
* *list_series*(_$slug_, _$count_)
* *list_series*(_$slug_, _$year_, _$month_)
With no arguments, returns the most recent 8 articles in the given series.
With one argument, returns the most recent _$count_ articles in the given series. _$count_ is at most 100.
With two arguments, returns all articles in the given series published in the given month of the given year. _$month_ is an integer between 1 and 12.
* *tdwtf_list_author*(_$slug_)
* *tdwtf_list_author*(_$slug_, _$count_)
* *tdwtf_list_author*(_$slug_, _$year_, _$month_)
* *list_author*(_$slug_)
* *list_author*(_$slug_, _$count_)
* *list_author*(_$slug_, _$year_, _$month_)
With no arguments, returns the most recent 8 articles by the given author.
With one argument, returns the most recent _$count_ articles by the given author. _$count_ is at most 100.
With two arguments, returns all articles by the given author published in the given month of the given year. _$month_ is an integer between 1 and 12.
* *tdwtf_series*
* *series*
In list context, returns a list of all existing article series. Each series is an unblessed hashref with the keys \'Slug\', \'Title\', \'Description\' and \'CssClass\'.
In scalar context, returns the number of existing article series.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/15.4/noarch |