Obter Biometria via UserID
O comando abaixo permite obter uma ou mais biometrias digitais cadastradas.
Requisição - GET
http://192.168.1.201/cgi-bin/AccessFingerprint.cgi?action=get&UserID=5
param | type | description |
---|---|---|
get * | Number | Comando para Obter a Digital |
UserID * | Number | ID de Usuário |
ℹ️
Permitido no máximo 10 biometrias por requisição.
Exemplo de Retorno - text/plain
FingerprintData=xSRoAHeH0nrvx6mGFoojJeg12IJphws+AEvHRGGG08kIDcfGGorEGuB6CsGXiyxV73nZQRmKpH3oQAmCV4dcfoBXu0lUhdyR4EXYw5SLDS3neBtCLof9EdGbjeJMha0VyIYow46H5iX4vnrDiIpWMfh+GsUJiHNJ7zAnxouJ+0oIAbgDdogbeRgLmEkJiBuZ7i5Ii9SE270HQBfAYYTD6t9B14EViDxd62QsEZaJXLoPeZsBU4UsvdiCBkMlhl2tK5WNHIyG1hL5/v0KiIl2Lfi+KoMTjBNa+EH6QYyLu4UP/gmBiYvNzfh+LARnhaICB//KwxSJylr/NfqD2oRaXvg+HALchRqB+DgowVmDxKnnwfnCz4Qtwfi/ygPYhX4e3/76RQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACVvRW9UgCEk1lIlJSZTb1c2omRFWiEjYTclYi9USGQjQzQlERQoiUL1dUliFVKDSHhXJvFaaVmnAWOtQRV4Jv+fEjJXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdaHAnEzSHxJUAFNPesjkbNJDNgmAWJRTHcbpkAmW3gnFsBCM2cY5cMyTFsA0MNzLt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m2gMtuVHZ0kY9kIiengS8iMTGnkbtXFUTMkI9kETKWkMFIUhLksGtyQXFGkOAaFEGzcHBAISYGgIBEGGMGoElSS9W61rxMuELhwHFrEAZgoCUqKOp60EVaIdXY0UVVEdKe0ONaMgng0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsKCAUQDAMEBgIPBw4BDRgREhUZFxoAAAAAAAAAANq1
FingerprintPacket.Count=2
FingerprintPacket.DuressIndex=1
FingerprintPacket.Length=810
Caso o usuário tenha mais de uma biometria cadastrada, as biometrias serão separadas por 1080 caracteres cada ficando atrelado ao FingerprintData.
Exemplos
import requests
device_ip = '10.1.35.144'
username = 'admin'
password = 'acesso1234'
url = "http://{}/cgi-bin/AccessFingerprint.cgi?action=get&UserID=5".format(
str(device_ip),
)
digest_auth = requests.auth.HTTPDigestAuth(username, password)
rval = requests.get(url, auth=digest_auth, stream=True, timeout=20, verify=False)
print(rval.text)