Skip to content
/ qRestAPI Public
forked from commontk/qRestAPI

Simple Qt library allowing to synchronously or asynchronously query a REST server.

License

Notifications You must be signed in to change notification settings

MITK/qRestAPI

 
 

Repository files navigation

OVERVIEW

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

Prerequisites

How to build using Qt 4.x

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

How to build using Qt 5.x

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

How to build using Qt 6.x

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

Testing

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

Contribute

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.

See CONTRIBUTING.md for more details.

About

Simple Qt library allowing to synchronously or asynchronously query a REST server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.6%
  • CMake 6.4%