Return to Snippet

Revision: 46898
at May 27, 2011 10:36 by marlu


Updated Code
<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

Revision: 46897
at May 27, 2011 07:32 by marlu


Initial Code
<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 ArrayList

    <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

Initial URL

                                

Initial Description

                                

Initial Title
Snipplr interface for use with Snipplr API

Initial Tags

                                

Initial Language
VB.NET