|
NAMEMetaCPAN::Client::Author - An Author data objectVERSIONversion 2.029000SYNOPSISmy $author = $mcpan->author('MICKEY'); DESCRIPTIONa MetaCPAN author entity object.ATTRIBUTESpauseidThe author's pause id, which is a string like "MICKEY" or "XSAWYERX".nameThe author's full name, if they've provided this in their MetaCPAN profile. This may contain Unicode characters.ascii_nameAn ASCII-only version of the author's full name, if they've provided this in their MetaCPAN profile.cityThe author's city, if they've provided this in their MetaCPAN profile.regionThe author's region, if they've provided this in their MetaCPAN profile.countryThe author's country, if they've provided this in their MetaCPAN profile.updatedAn ISO8601 datetime string like "2016-11-19T12:41:46" indicating when the author last updated their MetaCPAN profile. This is always provided in UTC.dirThe author's CPAN directory, which is something like "id/P/PE/PERLER".gravatar_urlThe author's gravatar.com user URL, if they have one. This URL is generated using PAUSEID@cpan.org.userThe user's internal MetaCPAN id.donationThis is an arrayref containing zero or more hashrefs. Each hashref contains two keys, "name" and "id". The known names are currently "paypal", "wishlist", and "flattr". The id will be an appropriate id or URL for the thing in question.This may be empty if the author has not provided this information in their MetaCPAN profile. For example: [ { "name" => "paypal", "id" => "brian.d.foy@gmail.com" }, { "name" => "wishlist", "id" => "http://amzn.com/w/4O7IX9ZNQJR" }, ], websiteThis is an arrayref of website URLs provided by the author in their MetaCPAN profile.profileThis is an arrayref containing zero or more hashrefs. Each hashref contains two keys, "name" and "id". The names are things like "github" or "stackoverflow". The id will be an appropriate id for the site in question.For example: [ { name => "amazon", id => "B002MRC39U" }, { name => "stackoverflow", id => "brian-d-foy" }, ] This may be empty if the author has not provided this information in their MetaCPAN profile. perlmongersThis is an arrayref containing zero or more hashrefs. Each hashref contains two keys, "name" and "url". The names are things like "Minneapolis.pm".This may be empty if the author has not provided this information in their MetaCPAN profile. linksThis is a hashref where the keys are a link type, and the values are URLs. The currently known keys are:
blogThis is an arrayref containing zer or more hashrefs. Each hashref contains two keys, "url" and "feed". For example:{ url => "http://blogs.perl.org/users/brian_d_foy/", feed => "http://blogs.perl.org/users/brian_d_foy/atom.xml", } release_countThis is a hashref containing counts for various types of releases. The known keys are:
extraReturns a hashref. The contents of this are entirely arbitrary and will vary by author.METHODSBUILDARGSEnsures format of the input.releasesmy $releases = $author->releases(); This method returns a MetaCPAN::Client::ResultSet of MetaCPAN::Client::Release objects. It includes all of the author's releases with the "latest" status. metacpan_urlReturns a link to the author's page on MetaCPAN.AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Sawyer X.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |