51aa7c9fdf1e6b30244e2534ba8899f078ec60c4
PocketSharp is a C#.NET portable class library that integrates the Pocket API v3.
Install PocketSharp using NuGet
Install-Package PocketSharp
Documentation
See wiki
Where's the Article View API?
You can either use the open source ReadSharp parser or if you want to use the official API by Pocket, you have to request access to it.
Afterwards you can use the access information to query the endpoint with PocketSharp. Instructions here.
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, therefore it's compatible with multiple platforms and Universal Apps:
- .NET >= 4.5 (including WPF)
- Windows Phone (Silverlight + WinPRT) >= 8
- Windows Store >= 8
- Xamarin iOS + Android
- WP7 and Silverlight are dropped in 4.0, use PocketSharp < 4.0, if you want to support them
You can find examples for WP8 and WPF in the PocketSharp.Examples (@github) folder.
Dependencies
Contributors
| ceee | ScottIsAFool | StephenErstad |
License
Description
Languages
C#
100%
