def get_family_members(self):
    r = requests.get((('https://w3b-api.ultramobile.com/v1/mint/account/' + str(self.id)) + '/multi-line?'), auth=BearerAuth(str(self.token)))
    response = r.json()
    for activeMembers in response['activeMembers']:
        self.family_members.append(activeMembers['id'])
        self.info[activeMembers['id']] = {}
        self.info[activeMembers['id']]['phone_number'] = activeMembers['msisdn']
        self.info[activeMembers['id']]['line_name'] = activeMembers['nickName']
        self.info[activeMembers['id']]['endOfCycle'] = self.epoch_days_remaining(activeMembers['currentPlan']['rechargeDate'])
        self.info[activeMembers['id']]['months'] = activeMembers['currentPlan']['duration']
        self.info[activeMembers['id']]['exp'] = self.epoch_days_remaining(activeMembers['nextPlan']['renewalDate'])
    self.family_data_remaining()
def get_family_members(self):
    r = requests.get((('https://w3b-api.ultramobile.com/v1/mint/account/' + str(self.id)) + '/multi-line?'), auth=BearerAuth(str(self.token)))
    response = r.json()
    for activeMembers in response['activeMembers']:
        self.family_members.append(activeMembers['id'])
        self.info[activeMembers['id']] = {}
        self.info[activeMembers['id']]['phone_number'] = activeMembers['msisdn']
        self.info[activeMembers['id']]['line_name'] = activeMembers['nickName']
        self.info[activeMembers['id']]['endOfCycle'] = self.epoch_days_remaining(activeMembers['currentPlan']['rechargeDate'])
        self.info[activeMembers['id']]['months'] = activeMembers['currentPlan']['duration']
        self.info[activeMembers['id']]['exp'] = self.epoch_days_remaining(activeMembers['nextPlan']['renewalDate'])
    self.family_data_remaining()