@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def account_get(self, key):<DEDENT>
key = self._process_value(key, '<STR_LIT>')<EOL>payload = {"<STR_LIT:key>": key}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT>']<EOL>
Get account number for the **public key**

:param key: Public key to get account for
:type key: str

:raises: :py:exc:`nano.rpc.RPCException`

>>> rpc.account_get(
...    key="3068BB1CA04525BB0E416C485FE6A67FD52540227D267CC8B6E8DA958A7FA039"
... )
"xrb_1e5aqegc1jb7qe964u4adzmcezyo6o146zb8hm6dft8tkp79za3sxwjym5rx"