librick-and-morty is a C Library for the API rickandmortyapi.
git clone https://github.com/ownesis/librick-and-morty.git
cd librick-and-morty
mkdir build && cd build
cmake ..
make
sudo make install
All headers files of this library is inside /usr/include/rick-and-morty
All object files of this library is inside /usr/local/lib/
.
gcc -o example example.c -lrick-and-morty -lcurl -ljson-c
You can found the HTML documentation of the library here, and man page here.