Skip to content

jalaria001/mercury-web-parser-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mercury-web-parser-java

Download

A java Mercury Web Parser api using retrofit and okhttp.

More info https://mercury.postlight.com/web-parser/

  • How to use it

Add this line to your buildscript repositories section: *(Don't know why I can't add to jcenter)

buildscript {
    repositories {        
        maven {url  "http://jalaria.bintray.com/generic"}
    }
}

Then on dependencies add:

compile 'com.github.jalaria001:mercury-web-parser-java:1.0.0'

Using this library is so simple:

Mercury mercury = new Mercury("YOUR MERCURY API KEY");
Response<Article> response = mercury.parseService().getArticle("URL").execute();
if(response.isSuccessful()){
  Article article = response.body();
  ...
}
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages