WebService::Qiita - Perl wrapper for the Qiita API
use WebService::Qiita; # Class method style my $user_items = WebService::Qiita->user_items('y_uuki_'); my $tag_items = WebService::Qiita->tag_items('perl'); my $item_uuid = '1234567890abcdefg'; my $markdown_content = WebService::Qiita->item($item_uuid); # Instance method style my $client = WebService::Qiita->new( url_name => 'y_uuki_', password => 'mysecret', ); # or $client = WebService::Qiita->new( token => 'myauthtoken', ); my $myinfo = $client->user_items; $myinfo->{uuid}; #=> "1a43e55e7209c8f3c565" $myinfo->{user}->{url_name}; #=> "y_uuki_"
WebService::Qiita is a wrapper for Qiita API.
Creates a new instance of WebService::Qiita.
Retrieves an ARRAY reference of user items
Retrieves an ARRAY reference of user following tags
Retrieves an ARRAY reference of user following users
Retrieves an ARRAY reference of user stock items
Retrieves an HASH reference of user info
Retrieves an ARRAY reference of tag items
Retrieves an ARRAY reference of tags
Creates an item
Edits item by uuid
Deletes an item by uuid
Retrieves an item by uuid
Searchs an item by query
Creates stock of an item by uuid
Deletes stock of an item by uuid
Yuuki Tsubouchi <yuuki@cpan.org>
"/qiita.com/docs"" in <a href="http:Qiita API Documet</a>> "/github.com/yaotti/qiita-rb"" in <a href="https:Qiita Ruby wrapper</a>>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Qiita, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Qiita
CPAN shell
perl -MCPAN -e shell install WebService::Qiita
For more information on module installation, please visit the detailed CPAN module installation guide.