In [1]:
import pynexus.settings as settings_api
from pynexus.segments.upload import upload_segment
# Modify your logs
settings_api.APPNEXUS_ACCOUNT.update({
'username': "",
'password': ""
})
In [2]:
member_id = {your_member_id}
segment_id = 1
user_ids = [1, 2, 3]
In [ ]:
upload_segment(segment_id, user_ids, member_id, verbose=True)
In [ ]: