<filename>received_beacons.py<gh_stars>0
from beacon import id

def parser(file):
    temp = {}
    for i in file.get('data'):
        identity = id(i['uuid'], i['major'], i['minor']).id
        temp[identity] = i['rssi']
    return temp

<filename>received_beacons.py<gh_stars>0
from beacon import id

def parser(file):
    temp = {}
    for i in file.get('data'):
        identity = id(i['uuid'], i['major'], i['minor']).id
        temp[identity] = i['rssi']
    return temp
