/// <summary> /// Returns all HTML document images packaged as a ZIP archive by Web page URL. /// </summary> /// <param name="sourceUrl">Source page URL</param> /// <returns></returns> public StreamResponse GetDocumentImagesByUrl(string sourceUrl) { return(DocumentApiImpl.GetDocumentImagesByUrl(sourceUrl)); }
/// <summary> /// Returns all images from the HTML document packaged as a ZIP archive. /// </summary> /// <param name="name">The document name.</param> /// <param name="storage">The document storage.</param> /// <param name="folder">The document folder.</param> /// <returns>StreamResponse | Response object containing MemoryStream with the ZIP archive of all images.</returns> public StreamResponse GetDocumentImages(string name, string storage, string folder) { return(DocumentApiImpl.GetDocumentImages(name, storage, folder)); }
/// <summary> /// Returns list of HTML fragments in the Web page by its URL matching the specified XPath query. /// </summary> /// <param name="sourceUrl">Source page URL</param> /// <param name="xPath">XPath query string.</param> /// <param name="outFormat">Output format. Possible values: 'plain' ancontainingd 'json'.</param> /// <returns>StreamResponse | Response object MemoryStream with the requested fragments</returns> public StreamResponse GetDocumentFragmentByXPathByUrl(string sourceUrl, string xPath, string outFormat) { return(DocumentApiImpl.GetDocumentFragmentByXPathByUrl(sourceUrl, xPath, outFormat)); }
/// <summary> /// Returns list of HTML fragments in the document matching the specified XPath query. /// </summary> /// <param name="name">The document name.</param> /// <param name="xPath">XPath query string.</param> /// <param name="outFormat">Output format. Possible values: 'plain' and 'json'.</param> /// <param name="storage">The document storage.</param> /// <param name="folder">The document folder.</param> /// <returns>StreamResponse | Stream containing the requested fragments</returns> public StreamResponse GetDocumentFragmentByXPath(string name, string xPath, string outFormat, string storage, string folder) { return(DocumentApiImpl.GetDocumentFragmentByXPath(name, xPath, outFormat, storage, folder)); }
/// <summary> /// Returns list of HTML fragments in the Web page by its URL matching the specified CSS selector. /// </summary> /// <param name="sourceUrl">Source page URL</param> /// <param name="selector">CSS selector string.</param> /// <param name="outFormat">Output format. Possible values: 'plain' and 'json'.</param> /// <returns>StreamResponse | Response object containing MemoryStream with the requested fragments</returns> public StreamResponse GetDocumentFragmentByCSSSelectorByUrl(string sourceUrl, string selector, string outFormat) { return(DocumentApiImpl.GetDocumentFragmentByCSSSelectorByUrl(sourceUrl, selector, outFormat)); }
/// <summary> /// Returns list of HTML fragments in the document matching the specified CSS selector. /// </summary> /// <param name="name">The document name.</param> /// <param name="selector">CSS selector string.</param> /// <param name="outFormat">Output format. Possible values: 'plain' and 'json'.</param> /// <param name="storage">The document storage.</param> /// <param name="folder">The document folder.</param> /// <returns>StreamResponse | Response object containing MemoryStream with the requested fragments</returns> public StreamResponse GetDocumentFragmentByCSSSelector(string name, string selector, string outFormat, string storage, string folder) { return(DocumentApiImpl.GetDocumentFragmentByCSSSelector(name, selector, outFormat, storage, folder)); }