/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#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