• This repository has been archived on 12/Jan/2024
  • Stars
    star
    110
  • Rank 315,327 (Top 7 %)
  • Language
    C#
  • License
    MIT License
  • Created over 11 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

😽 .NET Standard lib for the Pocket API

PocketSharp

PocketSharp is a .NET Standard 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!

...


Dependencies

Contributors

ceee ScottIsAFool
ceee ScottIsAFool

License

MIT License