added conversion table
changed to urllib3 and fixed nonce
moved conversion table to the api