Started the example.
This commit is contained in:
parent
306c112c8d
commit
c581ab667a
10 changed files with 364 additions and 0 deletions
10
examples/src/main/java/com/example/BitlySample.java
Normal file
10
examples/src/main/java/com/example/BitlySample.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package com.example;
|
||||
|
||||
import net.thauvin.erik.bitly.Bitly;
|
||||
|
||||
public class BitlySample {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new Bitly("YOUR_API_KEY").shorten("https://erik.thauvin.net/blog"));
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue