コード例 #1
0
ファイル: RemoteGameRepository.py プロジェクト: hobson/ggpy
 def getBundledMetadata(self):
     """ generated source for method getBundledMetadata """
     try:
         return RemoteResourceLoader.loadJSON(self.theRepoURL + "/games/metadata")
     except JSONException as e:
         return None
     except IOException as e:
         return None
コード例 #2
0
ファイル: RemoteGameRepository.py プロジェクト: hobson/ggpy
 def getGameResourceFromMetadata(cls, theGameURL, theMetadata, theResource):
     """ generated source for method getGameResourceFromMetadata """
     try:
         return RemoteResourceLoader.loadRaw(theGameURL + theResourceFile)
     except Exception as e:
         return None
コード例 #3
0
ファイル: RemoteGameRepository.py プロジェクト: hobson/ggpy
 def getGameMetadataFromRepository(cls, theGameURL):
     """ generated source for method getGameMetadataFromRepository """
     return RemoteResourceLoader.loadJSON(theGameURL)