예제 #1
0
  public Document URLGetRankedKeywords(String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckURL(url);

    params.setUrl(url);

    return GET("URLGetRankedKeywords", "url", params);
  }
예제 #2
0
  public Document HTMLGetRankedKeywords(String html, String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckHTML(html, url);

    params.setUrl(url);
    params.setHtml(html);

    return POST("HTMLGetRankedKeywords", "html", params);
  }