diff --git a/PocketSharp/Components/Add.cs b/PocketSharp/Components/Add.cs index c61962c..75fcca5 100644 --- a/PocketSharp/Components/Add.cs +++ b/PocketSharp/Components/Add.cs @@ -32,17 +32,5 @@ namespace PocketSharp return response.Item; } - - - /// - /// Adds a new item to pocket - /// - /// The URL of the item you want to save - /// A simple representation of the saved item which doesn't contain all data (is only returned by calling the Retrieve method) - /// - public async Task Add(Uri uri) - { - return await Add(uri, null); - } } } diff --git a/PocketSharp/Components/Retrieve.cs b/PocketSharp/Components/Retrieve.cs index 974c29d..87d2232 100644 --- a/PocketSharp/Components/Retrieve.cs +++ b/PocketSharp/Components/Retrieve.cs @@ -18,7 +18,7 @@ namespace PocketSharp /// parameters, which are mapped to the officials from http://getpocket.com/developer/docs/v3/retrieve /// /// - public async Task> Retrieve( + public async Task> Get( State? state = null, bool? favorite = null, string tag = null, @@ -59,9 +59,9 @@ namespace PocketSharp /// The item ID. /// /// - public async Task Retrieve(int itemID) + public async Task Get(int itemID) { - List items = await Retrieve( + List items = await Get( state: State.all ); @@ -75,7 +75,7 @@ namespace PocketSharp /// The filter. /// /// - public async Task> RetrieveByFilter(RetrieveFilter filter = RetrieveFilter.All) + public async Task> Get(RetrieveFilter filter) { RetrieveParameters parameters = new RetrieveParameters(); @@ -117,7 +117,7 @@ namespace PocketSharp /// public async Task> SearchByTag(string tag) { - return await Retrieve(tag: tag); + return await Get(tag: tag); } @@ -129,7 +129,7 @@ namespace PocketSharp /// public async Task> Search(string searchString) { - return await Retrieve(search: searchString); + return await Get(search: searchString); } }