def get_network_updates(self, types, member_id=None,
                            self_scope=True, params=None, headers=None):
        if member_id:
            url = '%s/id=%s/network/updates' % (ENDPOINTS.PEOPLE,
                                                str(member_id))
        else:
            url = ENDPOINTS.PEOPLE % '%s/~/network/updates'

        if not params:
            params = {}

        if types:
            params.update({'type': types})

        if self_scope is True:
            params.update({'scope': 'self'})

        response = self.make_request('GET', url, params=params, headers=headers)
        raise_for_error(response)
        return response.json()
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.get_network_updates/swapped operands of `%`