Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Article parser

Tobias Klika edited this page Jun 17, 2014 · 3 revisions

The Article View API by Pocket is private and therefore only accessible for users with granted permissions.
You can request access here.

As soon as you have access you can use the implementation by PocketSharp like the following:

1) Provide the parserUri in the PocketClient constructor.

PocketClient client = new PocketClient(
  consumerKey: "[YOUR-CONSUMER-KEY]",
  callbackUri: "[YOUR-CALLBACK-URI]",
  parserUri: new Uri("...") // insert the URI here
);

This is the most important part to consider, as without the Uri you can't access the private endpoint.

2) Make a request!

Uri uriFromArticle = new Uri("http://frontendplay.com/story/4015/string-indexer-for-text-resources-in-nancy");
PocketArticle article = await client.GetArticle(uriFromArticle);

GetArticle parameters

  • Uri uri
    The article URI
  • bool includeImages
    See private documentation
  • bool includeVideos
    See private documentation
  • bool forceRefresh
    See private documentation
Clone this wiki locally