循环 - 查找帐户

recurly - finding accounts

我想知道如何在我的循环系统中搜索特定帐户?我正在使用最新的 python 递归模块 2.8.3...但是我没有看到 searching/finding 帐户的递归方法。我一开始以为我可以做:

import recurly

# {set key, subdomain, and default currency params here.}

userAccount = recurly.Account(account_code="acc code")

但这并没有做任何事情,它只是创建了一个空的循环帐户对象。

是否有搜索或查找帐户的方法?

我是盲人,不幸的是 https://dev.recurly.com/docs 使我的网络浏览器阻塞,并且经常使我的计算机出现严重滞后,或完全锁定。我的电脑在 cpu/ram 部门也不逊色。所以我很难阅读各种 python 示例。我希望只有一个通过 python 模块递归的文档。

提前致谢...

他们网站上的循环示例是:

try:
  account = recurly.Account.get('1')
  print "Account: %s" % account
except NotFoundError:
  print "Account not found.\n"

所以你刚刚错过了 .get