Hi I created this function for LinkedinApplication object similar to Javascript API's Member Updates, based on get_network_updates(). Hope you find it useful
def get_member_updates(self, types, linkedin_id, self_scope=True, params=None, headers=None):
url = '%s/%s/network/updates' % (ENDPOINTS.PEOPLE, linkedin_id)
if not params:
params = {}
if types:
params.update({'type': types})
if self_scope is True:
params.update({'scope': 'self'})
try:
response = self.make_request('GET', url, params=params, headers=headers)
response = response.json()
except requests.ConnectionError as error:
raise LinkedInHTTPError(error.message)
else:
if not self.request_succeeded(response):
raise LinkedInError(response)
return response
Hi I created this function for LinkedinApplication object similar to Javascript API's Member Updates, based on get_network_updates(). Hope you find it useful