Example #1
0
 def get_bonds(self):
     return [SerializableBond.to_core(**row) for row in self.get("/bonds").json()]
Example #2
0
 def get_bond(self, number):
     return SerializableBond.to_core(**self.get("/bonds/%s" % number).json())