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