List of API functions for Python?

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

List of API functions for Python?

Postby SQADude » Wed Jan 20, 2010 4:39 am

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?
SQADude
TestLink user
 
Posts: 9
Joined: Wed Jan 20, 2010 4:31 am

Postby bmahe » Wed Jan 20, 2010 8:06 pm

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".
bmahe
TestLink user
 
Posts: 3
Joined: Fri Jan 15, 2010 3:25 am
Location: San Francisco


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 0 guests