8df28365639ebed8d9e20f415c9aac68231876cb
PocketSharp is a C#.NET portable class library that integrates the Pocket API v3.
Install using NuGet
Install-Package PocketSharp
Documentation
See wiki
Usage Example:
A search for items containing CSS:
PocketClient client = new PocketClient("[YOUR_CONSUMER_KEY]", "[YOUR_ACCESS_CODE]");
List<PocketItem> items = await client.Search("css");
items.ForEach(
item => Debug.WriteLine(item.ID + " | " + item.Title)
);
Which will output:
330361896 | CSS Front-end Frameworks with comparison : By usabli.ca
345541438 | Editr - HTML, CSS, JavaScript playground
251743431 | CSS Architecture
343693149 | CSS3 Transitions - Thank God We Have A Specification!
...
Supported platforms
PocketSharp is a Portable Class Library (since 1.0.0), therefore it's compatible with multiple platforms:
- .NET >= 4.5 (including WPF)
- Silverlight >= 4
- Windows Phone >= 7.5
- Windows Store
You can find examples for Silverlight 5, WP8 and WPF in the PocketSharp.Examples (@github) folder.
What's next?
cancellationTokensupport for all methods- support HTML injection into content from PocketArticle (maybe remove title from Article)
- benchmarking download of large lists + search algorithm
- make setters for inline objects in PocketItem (images, videos, ...)
Dependencies
Forked Dependencies
- NReadability - converted to a PCL with minor adaptations
- SgmlReader - converted to a PCL
Contributors
| ceee | ScottIsAFool |
License
Description
Languages
C#
100%
