about summary refs log tree commit diff stats
path: root/src/invapi.hpp
blob: c1e14ce5d18c8a6b14fdbf5d2b111ffbb8fc8e7f (plain) (blame)
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