Python Replace Class Method Jsonplaceholder Api