I recently converted a large security mailing list from using Prosody to using Openfire. As I didn’t want to do the data entry myself, I wrote a quick Ruby-based Openfire REST API wrapper script to help all my fellow commandline junkies.
Have a good one.
Another Ruby based rest api client: GeneralScripting/openfire-ruby · GitHub
Nice client and library. This goes way past anything I wrote. I literally was just trying to interact with the REST API plugin via my command line and wrote a wrapper for it.
$(./openfire_api_helper.rb ADD_USER crash_ firstname.lastname@example.org $(./pwGen.sh)) … literally.
vs spinning up a script, etc.