Exemplo n.º 1
0
        static void Main(string[] args)
        {
            String username = "******";
            String password = "******";

            vestorly.api.SessionsApi sessionsApi = new vestorly.api.SessionsApi();
            vestorly.model.Session   response    = sessionsApi.Login(username, password);
            System.Diagnostics.Debug.WriteLine("MY RESPONSE " + response);
            String auth = response.vestorlyAuth;

            System.Diagnostics.Debug.WriteLine(auth);

            advisorsApiTest(username, password, auth, response);
            postsApiTest(username, password, auth);
            articlesApiTest(username, password, auth);
            sourcesApiTest(username, password, auth);
            newslettersApiTest(username, password, auth);
            newslettersettingsApiTest(username, password, auth);
            eventsApiTest(username, password, auth);
            groupsApiTest(username, password, auth);
            membersApiTest(username, password, auth);
            membereventsApiTest(username, password, auth);
            memberreportsApiTest(username, password, auth);
            sessionsApiTest(username, password, auth, response);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            String username = "******";
            String password = "******";
            vestorly.api.SessionsApi sessionsApi = new vestorly.api.SessionsApi();
            vestorly.model.Session response = sessionsApi.Login(username, password);
            System.Diagnostics.Debug.WriteLine("MY RESPONSE " + response);
            String auth = response.vestorlyAuth;
            System.Diagnostics.Debug.WriteLine(auth);

            advisorsApiTest(username, password, auth, response);
            postsApiTest(username, password, auth);
            articlesApiTest(username, password, auth);
            sourcesApiTest(username, password, auth);
            newslettersApiTest(username, password, auth);
            newslettersettingsApiTest(username, password, auth);
            eventsApiTest(username, password, auth);
            groupsApiTest(username, password, auth);
            membersApiTest(username, password, auth);
            membereventsApiTest(username, password, auth);
            memberreportsApiTest(username, password, auth);
            sessionsApiTest(username, password, auth, response);
        }