MediaWiki API library in Ruby