#ifndef API_GUILD_HPP_ #define API_GUILD_HPP_ #include //#include using std::string, std::cout, std::endl, nlohmann::json; class Guild { private: json data; public: Guild(const json& data) : data(data) {} string id() { return data["d"]["user"]["id"]; } }; #endif