File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ def get_rooms(args):
2121 2. Get rooms
2222 """
2323 # Step 1. Create an API client with headers
24+ #ds-snippet-start:Rooms3Step2
2425 api_client = create_rooms_api_client (access_token = args ["access_token" ])
26+ #ds-snippet-end:Rooms3Step2
2527
2628 # Step 2. Get room templates
2729 rooms_api = RoomsApi (api_client )
@@ -38,9 +40,11 @@ def worker(args):
3840 api_client = create_rooms_api_client (access_token = args ["access_token" ])
3941
4042 # Step 2. Get room field data using SDK
43+ #ds-snippet-start:Rooms3Step3
4144 rooms_api = RoomsApi (api_client )
4245 response = rooms_api .get_room_field_data (
4346 room_id = args ['room_id' ],
4447 account_id = args ["account_id" ]
4548 )
49+ #ds-snippet-end:Rooms3Step3
4650 return response
You can’t perform that action at this time.
0 commit comments