Engine APIs: Python and .NET
RaptorXML Server provides two engine APIs:
•a Python wheel file (.whl), which is the Python Engine API: raptorxml<versiondetails>.whl
•a .NET DLL file (.dll), which is the .NET Engine API: raptorxmlapi.dll
These two engine APIs provide the RaptorXML Server functionality as separate packages that are standalone and independent from RaptorXML Server (see figure below ). Each package must be installed on the user’s machine before it can be imported as a Python module or integrated into a custom .NET application. Because all processing is performed locally on the user’s machine, the Python and .NET engine APIs provide detailed access to the data models of any valid XML and XBRL instances, XSD schemas and XBRL taxonomies. The APIs expose a rich set of methods to iterate over the content of XBRL instances or allow to retrieve specific bits of information from XBRL taxonomies with a few lines of code.
Note the following points about the Engine APIs:
•After you install RaptorXML Server, both engine APIs will be located in the bin folder of the RaptorXML Server installation folder.
•The engine APIs provide additional advanced processing via more versatile objects in their APIs.
•In order to use an engine API, a licensed version of RaptorXML Server must be installed on the machine on which the Python program or .NET application is executed (see Usage below).
You can create a Python program or .NET application as follows:
A Python program can access RaptorXML functionality by using Python API objects (see here). When the Python program is executed, it will use the RaptorXML library that has been installed in your Python environment when you install the Python wheel. Note that the Python wheel is compatible with Python version 3.11.5 only.
In order to use an engine API, a licensed version of RaptorXML Server must be installed on the machine on which the Python program or .NET application is executed. See the section Licensing for more detailed information.