JDiffbot is a client API for http://www.diffbot.com/ services. This project designed by current api docs: http://www.diffbot.com/our-apis/
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE.HEADER
README.md
checkstyle.xml
pom.xml

README.md

JDiffbot Build Status

Stable version: 1.1.1

What is it?

A Diffbot client for Java.

How to use it?

  1. Maven Repository

Add the following repository

<repositories>
  <repository>        
    <url>https://github.com/alessandroleite/maven-repository/raw/master/releases</url>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
</repositories>

Declare the dependency

<dependency>
   <groupId>jdiffbot</groupId>
   <artifactId>jdiffbot</artifactId>
   <version>1.1.1</version>
</dependency>
  1. Usage
     DiffbotAPI api = new DiffbotAPI("<your token>");
     Article article = api.article()
                          .extractFrom(uri)
                          .analyze();
    

    Or with all options:

     Article article = api.article()
                          .extractFrom(uri)	
                          .withTags()
                          .withComments()
                          .asHtml()
                          .withSummary()
                          .analyze();	  
    
  2. Build
     mvn package -Dtoken=<your token>                                                    
    

How to contribute

Reporting a Bug / Requesting a Feature

To report an issue or request a new feature you just have to open an issue in the repository issue tracker (https://github.com/alessandroleite/jdiffbot/issues).

Contributing some code

To contribute, follow these steps:

  1. Fork this project
  2. Add the progress label to the issue you want to solve (add a comments to say that you work on it)
  3. Create a topic branch for this issue
  4. When you have finish your work, open a pull request (use the issue title for the pull request title)

License

The project is licensed under the MIT license. See License.txt for details.

Bitdeli Badge