mastodonpp  0.0.0
example99_test.cpp
#include "mastodonpp.hpp"
#include <iostream>
#include <string>
#include <string_view>
#include <vector>
using std::cout;
using std::cerr;
using std::endl;
using std::string;
using std::string_view;
using std::vector;
int main(int argc, char *argv[])
{
const vector<string_view> args(argv, argv + argc);
mastodonpp::API masto("likeable.space", "");
mastodonpp::answer answer{0, "error", 200, "body"};
cout << answer << endl;
return 0;
}
mastodonpp::API
C++ wrapper for the Mastodon API.
Definition: mastodonpp.hpp:62
mastodonpp::answer
Return type for API calls.
Definition: return_types.hpp:42