|
SLiMParser V0.6.0SLiMSuite REST output parsing tool.
Copyright © 2014 Richard J. Edwards - See source code for GNU License Notice Imported modules:
See SLiMSuite Blog for further documentation. See FunctionThis module is for parsing the full REST output of a program into a couple of dictionaries, with options to output the data to files or convert to/from json format. If REST URLs can include files to be uploaded. These must be prefixed with CommandlineINPUT/OUTPUT OPTIONS
REST API Options
See also rje.py generic commandline options. History Module Version History# 0.0.0 - Initial Compilation. # 0.0.1 - Fixed RestKeys bug. # 0.1.0 - Added retrieval and parsing of existing server job. Added password. # 0.2.0 - Added API access to REST server if restin is REST call (i.e. starts with http:) # 0.2.1 - Added PureAPI output of API REST call returned text. # 0.3.0 - Added parsing of input files to give to rest calls. # 0.3.1 - Fixed issue that had broken REST server full output. # 0.3.2 - Fixed issue reading files for full output. # 0.3.3 - Tidied output names when restbase=jobid. # 0.3.4 - Tweaked error messages. # 0.4.0 - Added simple json format output. # 0.5.0 - Added restkeys/outputs output of REST output keys. # 0.5.1 - Minor docs and bug fixes. # 0.6.0 - Improved functionality as replacement pureapi with rest=jobid and rest=check functions. SLiMParser REST Output formatsRun with&rest=docs for program documentation and options. A plain text version is accessed with &rest=help .&rest=OUTFMT can be used to retrieve individual parts of the output, matching the tabs in the default( &rest=format ) output. Individual OUTFMT elements can also be parsed from the full (&rest=full ) server output,which is formatted as follows: ###~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~### # OUTFMT: ... contents for OUTFMT section ... Available REST OutputsThere is currently no specific help available on REST output for this program.© 2015 RJ Edwards. Contact: richard.edwards@unsw.edu.au. |