Return to Snippet

Revision: 27773
at June 23, 2010 00:10 by bobo


Initial Code
#region Snipplr XML-RPC API Models
 
    public struct Snippet
    {
        public string id;
        public string user_id;
        public string username;
        public string title;
        public string language;
        public string comment;
        public string created;      //datetime when snippet was created
        public string source;
        public string snipplr_url; //url to view snippet
        public string tags;        //tags (space delimited list of the snippets tags)
    }
    public struct SnippetList 
    {
        public string title, id;
        public SnippetUpdate updated;
        public bool favorite;
    }
    public struct SnippetLangList
    { 
        public string[] urlname;
        public string[] pretty_name;
    }
    
    public struct SnippetUpdate
    {
        public DateTime datetime;
        public string timezone;
    }
    #endregion


Initial URL

                                

Initial Description

                                

Initial Title
Snipplr API XML-RPC Structs

Initial Tags

                                

Initial Language
C++