diff options
Diffstat (limited to 'src/invapi.hpp')
-rw-r--r-- | src/invapi.hpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/invapi.hpp b/src/invapi.hpp deleted file mode 100644 index 3fb4c05..0000000 --- a/src/invapi.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef INVAPI_H -#define INVAPI_H -#include <string> -#include <vector> -#include <cpr/cpr.h> - -#include "sqliteinterface.hpp" - -class InvidiousApi { - - public: - - InvidiousApi(const std::string& url); - static std::vector<std::string> getInstances(); - static void saveInstancesToDb(SqliteInterface& sqldb); - std::string getInstance(); - void setInstance(const std::string& newUrl); - - void test(); - private: - - std::string instanceUrl; - cpr::Session session; -}; - - -#endif \ No newline at end of file |