shaarli-java-api

shaarli-java-api is a java client api for Sebsauvage's Shaarli.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.vaushell
ArtifactId

ArtifactId

shaarli-java-api
Last Version

Last Version

1.0.6
Release Date

Release Date

Type

Type

jar
Description

Description

shaarli-java-api
shaarli-java-api is a java client api for Sebsauvage's Shaarli.
Project URL

Project URL

https://github.com/fabienvauchelles/shaarli-java-api
Source Code Management

Source Code Management

https://github.com/fabienvauchelles/shaarli-java-api

Download shaarli-java-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.vaushell/shaarli-java-api/ -->
<dependency>
    <groupId>com.vaushell</groupId>
    <artifactId>shaarli-java-api</artifactId>
    <version>1.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.vaushell/shaarli-java-api/
implementation 'com.vaushell:shaarli-java-api:1.0.6'
// https://jarcasting.com/artifacts/com.vaushell/shaarli-java-api/
implementation ("com.vaushell:shaarli-java-api:1.0.6")
'com.vaushell:shaarli-java-api:jar:1.0.6'
<dependency org="com.vaushell" name="shaarli-java-api" rev="1.0.6">
  <artifact name="shaarli-java-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.vaushell', module='shaarli-java-api', version='1.0.6')
)
libraryDependencies += "com.vaushell" % "shaarli-java-api" % "1.0.6"
[com.vaushell/shaarli-java-api "1.0.6"]

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.3.1
commons-io : commons-io jar 2.4
org.jsoup : jsoup jar 1.7.3
joda-time : joda-time jar 2.3
org.slf4j : slf4j-api jar 1.7.5

test (4)

Group / Artifact Type Version
org.testng : testng jar 6.8.7
org.slf4j : slf4j-log4j12 jar 1.7.5
commons-configuration : commons-configuration jar 1.10
commons-collections : commons-collections jar 3.2.1

Project Modules

There are no modules declared in this project.

shaarli-java-api

shaarli-java-api is a java client api for Sebsauvage's Shaarli.

You can find a tutorial here (in french).

Why use shaarli ?

It's KISS.

Why use shaarli-java-api ?

Just a few reasons :

  • it's KISS (again, it's boring?) ;
  • it's fast (based on Apache Http Client) ;
  • it's easy to deploy with Maven ;
  • it's safe (with unit tests, a code control with Checkstyle, PMD and Findbugs) ;

Which features can i use ?

You can :

  • Iterate all links (and reverse) ;
  • Iterate links by multiple tags (and reverse) ;
  • Iterate links by a term (and reverse) ;
  • Count links ;
  • Add a new post ;
  • Modify an existing post ;
  • Delete an existing post ;
  • Define your own hooks to use a customized Shaarli (like lesliensducode.com).

How to use it ?

  1. Add this to your pom.xml file :
    <dependency>
      <groupId>com.vaushell.shaarli-java-api</groupId>
      <artifactId>shaarli-java-api</artifactId>
      <version>REPLACE_WITH_LAST_VERSION</version>
    </dependency>
    
  2. See this tutorial here (in french) ;
  3. See example file here ;
  4. See unit tests here ;
  5. Do it in your code !

Licence

See LICENCE.txt.

Versions

Version
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0