Net::GitHub::V3::Gists man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Net::GitHub::V3::GistsUser Contributed Perl DocumentaNet::GitHub::V3::Gists(3)

NAME
       Net::GitHub::V3::Gists - GitHub Gists API

SYNOPSIS
	   use Net::GitHub::V3;

	   my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
	   my $gist = $gh->gist;

DESCRIPTION
   METHODS
       Git Data

       <http://developer.github.com/v3/gists/>

       gists
	       my @gists = $gist->gists;
	       my @gists = $gist->gists('nothingmuch');

       public_gists
       starred_gists
	       my @gists = $gist->public_gists;
	       my @gists = $gist->starred_gists;

       gist
	       my $gist = $gist->gist($gist_id);

       create
	       my $gist = $gist->create( {
		 "description" => "the description for this gist",
		 "public" => 'true',
		 "files"  =>  {
		   "file1.txt" => {
		       "content" => "String file contents"
		   }
		 }
	       } );

       update
	       my $g = $gist->update( $gist_id, {
		   description => "edited desc"
	       } );

       star
       unstar
       is_starred
	       my $st = $gist->star($gist_id);
	       my $st = $gist->unstar($gist_id);
	       my $st = $gist->is_starred($gist_id);

       fork
       delete
	       my $g  = $gist->fork($gist_id);
	       my $st = $gist->delete($gist_id);

       Gist Comments API

       <http://developer.github.com/v3/gists/comments/>

       comments
       comment
       create_comment
       update_comment
       delete_comment
	       my @comments = $gist->comments();
	       my $comment  = $gist->comment($comment_id);
	       my $comment  = $gist->create_comment($gist_id, {
		   "body" => "a new comment"
	       });
	       my $comment = $gist->update_comment($gist_id, {
		   "body" => "Nice change"
	       });
	       my $st = $gist->delete_comment($gist_id);

AUTHOR & COPYRIGHT & LICENSE
       Refer Net::GitHub

perl v5.14.2			  2012-03-22	     Net::GitHub::V3::Gists(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net