mastodonpp  0.0.0
mastodonpp Reference

Using the library

Include mastodonpp.hpp, which then includes all other headers.

#include <mastodonpp/mastodonpp.hpp>

Use it in your CMake project like this:

find_package(mastodonpp REQUIRED CONFIG)
target_link_libraries(MyProject mastodonpp::mastodonpp)

Or compile your code with g++ $(pkg-config --cflags --libs mastodonpp).

Example

mastodonpp::Instance instance{"example.com", ""};
mastodonpp
C++ wrapper for the Mastodon API.
Definition: instance.cpp:21
mastodonpp::Instance
Definition: instance.hpp:27