The data validator fails if the given price is an integer for createListing method. I think the validator should support an two-type check so that it can check against int and float at same time.
A quick, dirty fix would be to change the supported type from float to string in methods.json and always provide the price as a string.
Sorry for the late response!
You can always use 'price' => 100.0.
This library is just a wrapper of Etsy's API and if its documentation says price is float we should use that. Thanks
The data validator fails if the given price is an integer for createListing method. I think the validator should support an two-type check so that it can check against int and float at same time.
A quick, dirty fix would be to change the supported type from float to string in methods.json and always provide the price as a string.