/ Published in: VB.NET
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<XmlRpcUrl("http://snipplr.com/xml-rpc.php")> _ Public Interface SnipplrIntf Inherits IXmlRpcProxy <XmlRpcMethod("user.checkkey")> _ Function CheckUserKey(ByVal api_key As String) As Integer <XmlRpcMethod("snippet.list")> _ Function GetSnippetsList(ByVal api_key As String) As SnipplrSnippetsList() <XmlRpcMethod("snippet.get")> _ Function GetSnippet(ByVal snippet_id As String) As SnipplrSnippet <XmlRpcMethod("snippet.post")> _ Function PostSnippet(ByVal api_key As String, ByVal title As String, ByVal code As String, ByVal tags As String, ByVal language As String) As String <XmlRpcMethod("snippet.delete")> _ Function DeleteSnippet(ByVal api_key As String, ByVal snippet_id As String) As Integer End Interface