/diffbot

A .NET library for the Diffbot Frontpage and Article APIs

Primary LanguageC#

Diffbot API for .NET

The Diffbot API enables users to scrape structured frontpage summaries and full articles from sites. This library is a .NET wrapper around the API.

There are two APIs supported: Frontpage and Article.

Frontpage

Diffbot diff = new Diffbot("developer-token-here");
Frontpage frontpage = diff.Frontpage("cnn.com");

Article

Diffbot diff = new Diffbot("developer-token-here");
Article article = diff.Article("http://url-to.com/article/permalink/here/");

With Proxy

var proxy = = new WebProxy(@"proxy.somecompany.com", 911);
Diffbot diff = new Diffbot("developer-token-here", proxy);
Article article = diff.Article("http://url-to.com/article/permalink/here/");