1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef INVAPI_H #define INVAPI_H #include <string> #include <vector> class InvidiousApi { public: InvidiousApi(const std::string& url); static std::vector<std::string> getInstances(); std::string getInstance(); void setInstance(const std::string& newUrl); private: std::string instanceUrl; }; #endif