RPC Method Summary
string

RPC4Django automatically generated this XMLRPC and JSONRPC method summary.

These methods can be tested using JSONRPC by clicking the method name.

Alternatively, they can be tested using python's xmlrpclib as follows

>>> from xmlrpclib import ServerProxy
>>> s = ServerProxy('http://rpc4django.davidfischer.name/')
>>> s.system.listMethods()

Features

  • Detects request type (JSONRPC or XMLRPC) based on content
  • Easy identification of RPC methods via a decorator
  • Pure python and requires no external modules except Django
  • Customizable RPC method documentation including reST
  • Supports XMLRPC and JSONRPC introspection
  • Supports method signatures (unlike SimpleXMLRPCServer)
  • Easy installation and integration with existing Django projects
  • Licensed for inclusion in open source and commercial software
int
rpc4django.mytestmethod ( int a , int b , int c )

Adds the three parameters together and returns the sum

Parameters:

  • a - the first parameter
  • b - the second parameter
  • c - the third parameter
Returns
the sum of the 3 parameters
struct

Returns a simple method description of the methods supported

array

Returns a list of supported methods

string
system.methodHelp ( string method_name )

Returns documentation for a specified method

array
system.methodSignature ( string method_name )

Returns the signature for a specified method