Пример #1
0
 def find(self, conditions: dict = {}):
     self._bearer_token = api_sistemas.retrieve_token()
     return self._parse(
         api_sistemas.get_public_data(self.ENDPOINT, self._bearer_token))
 def find(self, conditions: dict = {}):
     self._bearer_token = api_sistemas.retrieve_token()
     return self._parse(api_sistemas.get_public_data(self.ENDPOINT, self._bearer_token))
Пример #3
0
 def find(self, conditions: dict = {}):
     bearer_token = api_sistemas.retrieve_token()
     for author in self.AUTHORS:
         self.PUBLICATIONS += self._parse((api_sistemas.get_public_data(author['endpoint'], bearer_token)), author['author'])
     return self.PUBLICATIONS