get_qualification_score
(**kwargs)¶The GetQualificationScore
operation returns the value of a Worker's Qualification for a given Qualification type.
To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the ListAssignmentsForHIT
operation.
Only the owner of a Qualification type can query the value of a Worker's Qualification of that type.
See also: AWS API Documentation
Request Syntax
response = client.get_qualification_score(
QualificationTypeId='string',
WorkerId='string'
)
[REQUIRED]
The ID of the QualificationType.
[REQUIRED]
The ID of the Worker whose Qualification is being updated.
dict
Response Syntax
{
'Qualification': {
'QualificationTypeId': 'string',
'WorkerId': 'string',
'GrantTime': datetime(2015, 1, 1),
'IntegerValue': 123,
'LocaleValue': {
'Country': 'string',
'Subdivision': 'string'
},
'Status': 'Granted'|'Revoked'
}
}
Response Structure
(dict) --
Qualification (dict) --
The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).
QualificationTypeId (string) --
The ID of the Qualification type for the Qualification.
WorkerId (string) --
The ID of the Worker who possesses the Qualification.
GrantTime (datetime) --
The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.
IntegerValue (integer) --
The value (score) of the Qualification, if the Qualification has an integer value.
LocaleValue (dict) --
The Locale data structure represents a geographical region or location.
Country (string) --
The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.
Subdivision (string) --
The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.
Status (string) --
The status of the Qualification. Valid values are Granted | Revoked.
Exceptions
MTurk.Client.exceptions.ServiceFault
MTurk.Client.exceptions.RequestError