kapi2289 / vulcan-api

Unofficial UONET+ e-register API
https://vulcan-api.readthedocs.io/
MIT License
72 stars 17 forks source link

Empty certificate file (null) during register #26

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi I stuck on start with get certificate. According to documentation:

import vulcan import json

print(vulcan.version) certificate = vulcan.Vulcan.register('token', 'symbol', 'pin') print(certificate) with open('cert.json', 'w') as f: # You can use other filename json.dump(certificate, f)

When I run script I have: Registering... Registered successfully! None

File with cert has been created but there is only one word: null. What I doing wrong. vulcan-api version :1.0.2 download from pip python version :Python 3.6.8

Regards

ghost commented 4 years ago

Hi We can close this issue. After I recreated new mobile access token works as expected Regards