Net::StackExchange2::V2 - StackExchange API V2
Version 0.01
use Net::StackExchange2; #For read-only methods. my $se = Net::StackExchange2->new({site => 'stackoverflow'});
This module is an underlying wrapper for the various sub-modules for each stackexchange entitiy. Please see http://api.stackexchange.com/docs/ for information about the methods and their parameters
This distibution contains the following modules, each correspond to a entity/type in the stackexchange api. Individual methods are documented inside the module itself. Ideally if you read the docs on Net::StackExchange2 you should be able to infer the methods inside a module from the stackexchange docs.
This wrapper contains the following modules, I've only included quick notes on each module here:
Stackoverflow answers.
Badges. They come in bronze, silver and gold. They support sort by rank, gold being the highest.
This contains two write methods to delete and edit comments. They require authentication. (access_token and key)
Requires authentication. Gets a stream of events that happened on the site.
Gets the site info. Reads the site parameter you passed in.
Stackexchange posts. By default does not include the body. Use filters for this.
Contains one method to fetch all privileges on the site.
Also doesn't include body like posts and comments.
Revisions take a guid as their id
Has regular search, advanced search and similar search(by title) methods.
Just gets suggested ids.
Note this doesn't have a tags([many tags]) method. The method is named tag_info(["perl", "javascript"])
Contains MANY methods to get all sorts of information about the user
Has methods to dispose and inspect access_tokens
Has one method to de-authenticate
Gets information about error ids. Useful for debugging.
Has methods to create and inspect filters, like the docs say, you should only use this for debugging.
Methods to get the users inbox and unread items. Authentication required on both methods.
Gets the users notifications across sites. This method unloads
Gets information about all sites on the stackexchange network.
Gideon Israel Dsouza, <gideon at cpan.org>
<gideon at cpan.org>
Please report any bugs or feature requests to bug-net-stackexchange2 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-StackExchange2. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-stackexchange2 at rt.cpan.org
See Net::StackExchange2.
Copyright 2013 Gideon Israel Dsouza.
This library is distributed under the freebsd license:
http://opensource.org/licenses/BSD-3-Clause See FreeBsd in TLDR : http://www.tldrlegal.com/license/bsd-3-clause-license-(revised)
To install Net::StackExchange2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::StackExchange2
CPAN shell
perl -MCPAN -e shell install Net::StackExchange2
For more information on module installation, please visit the detailed CPAN module installation guide.