[][src]Function dhl_api::get_dhl_package_from_html

pub fn get_dhl_package_from_html(
    htmlbody: &str
) -> Result<DHLPackageStatus, Error>

Try to parse a HTML body and look for the shipping information, usually you need not to call this unless you wish to use your own HTTP client or backend URL or whatever other wizardry you're into.

Arguments

htmlbody - HTML code to scan, check out the sourcecode to find the regexp and what it expects.