public User getUser(string user) { var jsonString = aReq.getAPIJson(APIResources.getUser(user), oaCreds, true); User obj; var state = ser.toType(jsonString, out obj); if (state.Error) { return(null); } else { return(obj); } }
public ScheduledBroadcastList get(int ID) { var jsonString = aReq.getAPIJson(APIResources.getScheduledBroadcast("" + ID), oaCreds, true); ScheduledBroadcastList obj; var state = ser.toType(jsonString, out obj); if (state.Error) { return(null); } else { return(obj); } }
public Language get(string Language) { var jsonString = aReq.getAPIJson(APIResources.getLangauge(Language), oaCreds, true); Language obj; var state = ser.toType(jsonString, out obj); if (state.Error) { return(null); } else { return(obj); } }
public Livestream get(string livestream) { var jsonString = aReq.getAPIJson(APIResources.getLivestream(livestream), oaCreds, true); Livestream obj; var state = ser.toType(jsonString, out obj); if (state.Error) { return(null); } else { return(obj); } }
public CodingCategory get(string Category) { var jsonString = aReq.getAPIJson(APIResources.getCodingCategory(Category), oaCreds, true); CodingCategory obj; var state = ser.toType(jsonString, out obj); if (state.Error) { return(null); } else { return(obj); } }