我使用的是课堂api的管理监护人,我得到了错误: AttributeError:'Resource‘对象没有属性'userProfiles’
invitations = self.service.userProfiles().guardianInvitations().list(studentId='esha.dammalapati@somedomain.com').execute()发布于 2017-08-25 02:23:13
只是为了结束这个问题。确保您使用的是有效的电子邮件地址,因为这是userProfile所指的地址。
您可以在userProfiles.get试试看中检查是否使用有效的电子邮件地址。
https://stackoverflow.com/questions/45830078
复制相似问题