If I recall correctly MWS has documentation on the...
# suitescript
b
If I recall correctly MWS has documentation on the process and maybe some code samples. I usually go for the NodeJS examples and modify them accordingly