package com.pennapps.labs.pennmobile.api;


public class DiningAPI extends API {

    public DiningAPI() {
        super();
        BASE_URL = "https://37922702.ngrok.com/";
    }
}

@@ -41,137 +41,2149 @@
 ;%0A%0A%0A
-public class DiningAPI extends API %7B%0A%0A    public DiningAPI() %7B%0A        super();%0A        BASE_URL = %22https://37922702.ngrok.com/%22;
+import android.util.Log;%0A%0Aimport org.apache.http.HttpResponse;%0Aimport org.apache.http.client.methods.HttpGet;%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0Aimport org.json.JSONTokener;%0A%0Aimport java.io.IOException;%0A%0Apublic class DiningAPI extends API %7B%0A%0A    public DiningAPI() %7B%0A        super();%0A        BASE_URL = %22http://api.pennlabs.org:5000/dining/%22;%0A    %7D%0A%0A    public JSONObject getVenues() %7B%0A        HttpGet httpGet = new HttpGet(BASE_URL + %22venues%22);%0A        try %7B%0A            HttpResponse response = httpClient.execute(httpGet);%0A            JSONTokener tokener = new JSONTokener(inputStreamToString%0A                    (response.getEntity().getContent()).toString());%0A            return new JSONObject(tokener);%0A        %7D catch (IOException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D catch (JSONException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D%0A    %7D%0A%0A    public JSONObject getDailyMenu(String hallID) %7B%0A        HttpGet httpGet = new HttpGet(BASE_URL + %22daily_menu/%22 + hallID);%0A        try %7B%0A            HttpResponse response = httpClient.execute(httpGet);%0A            JSONTokener tokener = new JSONTokener(inputStreamToString%0A                    (response.getEntity().getContent()).toString());%0A            return new JSONObject(tokener);%0A        %7D catch (IOException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D catch (JSONException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D%0A    %7D%0A%0A    public JSONObject getWeeklyMenu(String hallID) %7B%0A        HttpGet httpGet = new HttpGet(BASE_URL + %22weekly_menu/%22 + hallID);%0A        try %7B%0A            HttpResponse response = httpClient.execute(httpGet);%0A            JSONTokener tokener = new JSONTokener(inputStreamToString%0A                    (response.getEntity().getContent()).toString());%0A            return new JSONObject(tokener);%0A        %7D catch (IOException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D catch (JSONException e) %7B%0A            Log.v(%22vivlabs%22, %22%22 + e);%0A            return null;%0A        %7D
 %0A   

Update Dining API URL and add URL methods