qRestAPI is a cross-platform Qt-based library allowing to easily query any RESTful web services.
It provides the following interfaces:
Interface | RESTful API |
---|---|
qRestAPI |
any |
qGirderAPI |
Girder |
qMidasAPI |
Midas |
git clone git://github.com/commontk/qRestAPI.git
mkdir qRestAPI-build
cd qRestAPI-build
cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/qmake ../qRestAPI
make -j4
git clone git://github.com/commontk/qRestAPI.git
mkdir qRestAPI-build
cd qRestAPI-build
cmake -DQt5_DIR:PATH=/path/to/QtX.Y.Z/X.Y.Z/gcc_64/lib/cmake/Qt5 ../qRestAPI
make -j4
git clone git://github.com/commontk/qRestAPI.git
mkdir qRestAPI-build
cd qRestAPI-build
cmake -DQT6_INSTALL_PREFIX:PATH=/path/to/QtX.Y.Z/X.Y.Z/gcc_64 ../qRestAPI
make -j4
To run tests checking that queries can successfully be executed.
cd qRestAPI-build
ctest
List of tests expecting servers to be reachable:
Test | Server |
---|---|
qGirderAPITest |
https://data.kitware.com/api/v1 |
qMidasAPITest |
https://slicer.kitware.com/midas3 |
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
See CONTRIBUTING.md for more details.