#ifndef MONSTERCAT_DL_H_ #define MONSTERCAT_DL_H_ #include #include #include "json.hpp" class Monstercat_DL { private: std::ostream *log; std::string m_base_url; bool m_is_logged_in; public: Monstercat_DL(); ~Monstercat_DL(); bool login(const std::string& user, const std::string& pass); bool logout(); nlohmann::json get_release_json(const std::string& catalog_id); bool download_cover(const std::string& catalog_id, const std::string& path); }; #endif // MONSTERCAT_DL_H_