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