#ifndef INVAPI_H #define INVAPI_H #include #include #include "sqliteinterface.hpp" class InvidiousApi { public: InvidiousApi(const std::string& url); static std::vector getInstances(); static void saveInstancesToDb(SqliteInterface& sqldb); std::string getInstance(); void setInstance(const std::string& newUrl); private: std::string instanceUrl; }; #endif