This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
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:
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.
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