Esempio n. 1
0
 async def async_get_house_activities(self, access_token, house_id, limit=8):
     response = await self._async_dict_to_api(
         self._build_get_house_activities_request(
             access_token, house_id, limit=limit
         )
     )
     return _process_activity_json(await response.json())
Esempio n. 2
0
 def get_house_activities(self, access_token, house_id, limit=8):
     return _process_activity_json(
         self._dict_to_api(
             self._build_get_house_activities_request(access_token,
                                                      house_id,
                                                      limit=limit)).json())