List of API functions for Python?

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
SQADude
TestLink user
Posts: 9
Joined: Wed Jan 20, 2010 4:31 am

List of API functions for Python?

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

Post 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".
Post Reply