public string URLGetConstraintQuery(string url, AlchemyAPI_ConstraintQueryParams parameters) { CheckURL(url); if (parameters.getCQuery().Length < 2) { System.ApplicationException ex = new System.ApplicationException("Invalid constraint query specified."); throw ex; } parameters.setUrl(url); return(POST("URLGetConstraintQuery", "url", parameters)); }
public string HTMLGetConstraintQuery(string html, string url, AlchemyAPI_ConstraintQueryParams parameters) { CheckHTML(html, url); if (parameters.getCQuery().Length < 2) { System.ApplicationException ex = new System.ApplicationException("Invalid constraint query specified."); throw ex; } parameters.setHtml(html); parameters.setUrl(url); return POST("HTMLGetConstraintQuery", "html", parameters); }
public string HTMLGetConstraintQuery(string html, string url, string query) { CheckHTML(html, url); if (query.Length < 2) { System.ApplicationException ex = new System.ApplicationException("Invalid constraint query specified."); throw ex; } AlchemyAPI_ConstraintQueryParams cqParams = new AlchemyAPI_ConstraintQueryParams(); cqParams.setCQuery(query); return HTMLGetConstraintQuery(html, url, cqParams); }
public string HTMLGetConstraintQuery(string html, string url, string query) { CheckHTML(html, url); if (query.Length < 2) { System.ApplicationException ex = new System.ApplicationException("Invalid constraint query specified."); throw ex; } AlchemyAPI_ConstraintQueryParams cqParams = new AlchemyAPI_ConstraintQueryParams(); cqParams.setCQuery(query); return(HTMLGetConstraintQuery(html, url, cqParams)); }