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::API masto("example.com", "");
mastodonpp::API
C++ wrapper for the Mastodon API.
Definition: mastodonpp.hpp:64