edutap.wallet_google.api.read#

edutap.wallet_google.api.read(name: str, resource_id: str) Model#

Reads a Google Wallet Class or Object. R in CRUD.

Parameters:
  • name – Registered name of the model to use

  • resource_id – Identifier of the resource to read from the Google RESTful API

Raises:
  • LookupError – When the resource was not found (404).

  • Exception – When the response status code is not 200 or 404.

Returns:

the created model based on the data returned by the Restful API