5.11. query_permissions

struct of struct of integers query_permissions(string id)

Parameters

id
The client access key supplied by Wordtracker.

Description

Returns details of API procedures your key can access.

The returned results are in the form of an XML-RPC struct. Each key is a procedure name and the associated value is a further struct. Each of these inner structs is of the form:

KeyValue
result_limitLimit placed on the parameter 'max'. A call placed with 'max' higher than this limit will be disallowed. A value of zero places no restriction on the parameter 'max'. This value is an integer.
keyphrase_limitLimit on number of keyphrases allowed into the call. A call placed with more keyphrases will be disallowed. This value is an integer.
timeout_limitLimit placed on the parameter 'timeout'. A call placed with 'timeout' higher than this limit will be disallowed. This value is an integer.
cost_per_callThe cost of each call to this procedure. This value is an integer, representing the number of cents the call costs.

Example result set

Procedure nameStructReturns
get_exact_phrase_popularityresult_limit = 0
keyphrase_limit = 500
timeout_limit = 15
cost_per_call = 5
0, 500, 15, 5
get_thesaurus_keyphrasesresult_limit = 0
keyphrase_limit = 1000
timeout_limit = 0
cost_per_call = 1
0, 1000, 0, 1