Example #1
0
        private void getListScoreOfUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.doGetListScoreOfUser);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId + "/scores/own");
        }
Example #2
0
        private void requestGetUserInformation()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.populateView);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId);
        }
Example #3
0
        private void getListAbonne()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.getListAbo);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + my_user.PersonalData.Id + "/subscriptions");
        }
Example #4
0
        private void getListFavouriteScore()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.doGetListFavouriteScore);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + my_user.PersonalData.Id + "/scores/favourites");
        }
Example #5
0
        private void getListScore()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dogetListScore);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/scores?title=" + SearchTextBox.Text);
        }
Example #6
0
        private void getListUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dogetListUser);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users?uname=" + SearchTextBox.Text);
        }
Example #7
0
        private void getListAbonne()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.getListAbo);
            System.Diagnostics.Debug.WriteLine("https://musicsheetwriter.tk/api/users/" + this.userId + "/subscribers");
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId + "/subscribers");
        }
Example #8
0
        private void testUser()
        {
            HTTPRequest connect = new HTTPRequest();

            connect.RequestFinished += new HTTPRequest.RequestFinishedEventHandler(this.dotestuser);
            System.Diagnostics.Debug.WriteLine("https://musicsheetwriter.tk/api/users/" + this.userId);
            connect.HttpGetRequest("https://musicsheetwriter.tk/api/users/" + this.userId);
        }