Closed kzscisoft closed 3 years ago
Updates are here: https://github.com/kzscisoft/SCRC-Cpp-API
Just to restate what I said during the meeting:
The core aspect of connecting to the API and sending requests and parsing returned JSON is possible using the chosen JSONCPP and libcurl libraries. Issues arise when trying to mirror the same object structure as the Python as libraries do not exist so readily for C++ as modules do for Python. You find yourself going sideways more than forwards with having to mirror methods in the imported Python modules themselves as well as the API.
I shall therefore start considering a unique way of accessing the API, but with the help of some core unit tests across all the implementations, ensure that it still achieves what it needs to.
C++ will be implemented standalone.
Determine whether moving to a standalone C++ API is feasible time wise and based on availability of easy to use HTTP connection libraries. Related to #768.