perl-WebService-Vichan-0.001001-alt1.noarch.rpm


Advertisement

Description

perl-WebService-Vichan - API client for 4chan and vichan-based imageboards

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-WebService-Vichan
Package version 0.001001
Package release alt1
Package architecture noarch
Package type rpm
Installed size 7.15 KB
Download size 7.15 KB
Official Mirror ftp.altlinux.org
This is an api client for 4chan.org and imageboards that use vichan
(such as 8ch.net). It offers the following methods:
Note: functions that ordinarily return lists will return arrayrefs if
called in scalar context.
=over
=item WebService::Vichan->new(*$url*)
Creates a new WebService::Vichan object with the given base URL.
Two constants are exported on request by this module: `API_4CHAN' and
`API_8CHAN', which represent the base URLs for 4chan.org and 8ch.net.
=item $chan->boards
Returns a list of available boards. These are blessed
imageboard-dependent hashrefs which should at least have the methods
`board' (returning the board code as a string) and `title'.
=item $chan->threads(*$board*)
Takes a board object (or a board code as a string) and returns a list
of pages of thread OPs. Each page is a blessed hashref with methods
`page' (the index of the page) and `threads' (an arrayref of thread
OPs on that page). Each thread OP is a blessed hashref which has at
least the methods `no' (the thread number) and `last_modified'.
=item $chan->threads_flat(*$board*)
Same as threads but page information is dropped. Returns a list of
thread OPs as described above.
=item $chan->catalog(*$board*)
Same as threads, but much more information is returned about each
thread OP.
=item $chan->catalog_flat(*$board*)
Same as threads_flat, but much more information is returned about each thread OP.
=item $chan->thread(*$board*, *$threadno*, [*$is_4chan*])
Takes a board object (or a board code as a string), a thread OP object
(or a thread number) and an optional boolean indicating whether to use
4chan logic for the request (by default 4chan logic is used if the URL
contains `4cdn.org').
Returns a post object (blessed hashref) with methods as described in
the API documentation (see links in the SEE ALSO section).
=back
To comply with API usage rules every request is cached for 10 seconds,
and requests are rate-limited to one per second. If a method is called
less than 1 second after a request has happened, it wi...

Alternatives

Package Version Architecture Repository
perl-WebService-Vichan - - -

Requires

Name Value
/usr/share/perl5 -
perl(HTTP/Tiny.pm) -
perl(Hash/Inflator.pm) -
perl(JSON/MaybeXS.pm) -
perl(Time/HiRes.pm) -
perl(constant.pm) -
perl(parent.pm) -
perl-base >= 1:5.14.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(WebService/Vichan.pm) = 0.001.001
perl-WebService-Vichan = 0.001001-alt1

Download

Type URL
Binary Package perl-WebService-Vichan-0.001001-alt1.noarch.rpm
Source Package perl-WebService-Vichan-0.001001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-WebService-Vichan rpm package:
    # sudo apt-get install perl-WebService-Vichan

Files

Path
/usr/share/doc/perl-WebService-Vichan-0.001001/Changes
/usr/share/doc/perl-WebService-Vichan-0.001001/README
/usr/share/perl5/WebService/Vichan.pm

See Also

Package Description
perl-WebService-Viddler-0.10-alt1.noarch.rpm An encapsulation of the Viddler video platform in Perl
perl-WebService-VigLink-0.06-alt2.noarch.rpm Interface to the VigLink web API
perl-WebService-VirusTotal-1.0.3165-alt1.noarch.rpm lib/WebService/VirusTotal.pm
perl-WebService-Vtiger-1.01-alt1.noarch.rpm Interface to vtiger5.2 webservices
perl-WebService-Vultr-0.12-alt1.noarch.rpm Perl bindings for the Vultr API
perl-WebService-Walmart-0.01-alt1.noarch.rpm Interface to Walmart's open API
perl-WebService-WebSequenceDiagrams-0.00001-alt1.noarch.rpm Simple API for WebSequenceDiagrams
perl-WebService-Wedata-0.0.4-alt1.noarch.rpm Perl Interface for wedata.net
perl-WebService-Wikimapia-0.13-alt1.noarch.rpm Interface to Wikimapia API
perl-WebService-Windows-LiveID-Auth-0.01-alt1.noarch.rpm Perl implementation of Windows Live ID Web Authentication 1.0
perl-WebService-XING-0.030-alt2.noarch.rpm Perl Interface to the XING API
perl-WebService-XING-scripts-0.030-alt2.noarch.rpm WebService-XING scripts
perl-WebService-Xero-0.11-alt1.noarch.rpm Access Xero Accounting Package Public and Private Applicaiton API
perl-WebService-YDMM-0.03-alt1.noarch.rpm It's yet another DMM sdk
perl-WebService-YQL-0.04-alt1.noarch.rpm Simple interface for Yahoo Query Language
Advertisement
Advertisement