This repository was archived by the owner on Jan 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed
examples/respondent_gateway Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ from dynata_rex import RespondentGateway
2+ gateway = RespondentGateway ('rex_access_key' , 'rex_secret_key' )
3+
4+ attribute_id = 123 # Some-Number
5+
6+ gateway .get_attribute_info (attribute_id )
7+
8+ # {
9+ # "id": "unique-parameter-id",
10+ # "name": "Example Question Name",
11+ # "description": "Example Question Description",
12+ # "display_mode": "Single-Punch/Multi-Punch",
13+ # "parent_dependencies": [
14+ # {
15+ # "answer_ids": [
16+ # {
17+ # "id": "unique-answer-id"
18+ # }
19+ # ],
20+ # "parameter_id": "unique-parameter-id"
21+ # }
22+ # ],
23+ # "expiration_duration": "36000",
24+ # "is_active": "true/false",
25+ # "countries": [
26+ # {
27+ # "code": "country-code"
28+ # }
29+ # ],
30+ # "question": {
31+ # "text": "question-text",
32+ # "translations": [
33+ # {
34+ # "locale": "locale",
35+ # "text": "translation-text"
36+ # }
37+ # ]
38+ # },
39+ # "answers": [
40+ # {
41+ # "id": "unique-answer-id",
42+ # "text": "answer-text",
43+ # "countries": [
44+ # {
45+ # "code": "country-code"
46+ # }
47+ # ],
48+ # "translations": [
49+ # {
50+ # "locale": "locale",
51+ # "text": "translation-text"
52+ # }
53+ # ]
54+ # }
55+ # ]
56+ # }
You can’t perform that action at this time.
0 commit comments