Content shall be a json blob with {"LuaFile": …, "ApiKey": …} where
LuaFile is the WoWthing_Collector.lua file content.
ApiKey is found in your account's settings page.
I feel this should probably be in some by-default-hidden block on the /upload page. No real need in hiding it.
One could engineer this into a docker container with inotify-watch for the lua file etc to have a platform-agonistic sync application, but meh. I personally will just manually run it every once in a while. To me, documenting the API somewhere would be enough.
Of course, dumping the above script in this repo is also a good thing for people like me.
As a non-windows user, but still a lazy person, I had to reverse engineer the API. It boiled down to
i.e.
/upload
application/json
.gzip
.{"LuaFile": …, "ApiKey": …}
whereLuaFile
is theWoWthing_Collector.lua
file content.ApiKey
is found in your account's settings page.I feel this should probably be in some by-default-hidden block on the /upload page. No real need in hiding it.
One could engineer this into a docker container with inotify-watch for the lua file etc to have a platform-agonistic sync application, but meh. I personally will just manually run it every once in a while. To me, documenting the API somewhere would be enough.
Of course, dumping the above script in this repo is also a good thing for people like me.