Page 1 of 1

List of API functions for Python?

PostPosted: Wed Jan 20, 2010 4:39 am
by SQADude
Hello, I examined the sampleClient script for Python in the /lib/api area.

I only see two functions for the xmlrpclib connection for testlink in Python:

reportTCResult()
about()


I am pretty sure there are others. Where can I get a list of functions that are defined thru xmlrpclib for the Python API?

PostPosted: Wed Jan 20, 2010 8:06 pm
by bmahe
You can get the list of functions by directly looking at the xmlrpc server server source located here lib/api/xmlrpc.php
it will define a mapping between function names and functions to call in the server constructor. Look for the assignment of "$this->methods".