using PocketSharp.Models;
using System;
using System.Threading.Tasks;
namespace PocketSharp
{
public interface IPocketReader
{
///
/// Reads article content from the given PocketItem.
/// This method does not use the official Article View API, which is private.
/// The PocketReader is based on a custom PCL port of NReadability and SgmlReader.
///
/// An URI to extract the content from.
/// if set to true [only body is returned].
/// if set to true [no headline (h1) is included].
///
/// A Pocket article with extracted content and title.
///
///
Task Read(Uri uri, bool bodyOnly = true, bool noHeadline = false);
}
}