urlshortener

Java library for URL shortening services

License

License

GroupId

GroupId

com.maginatics
ArtifactId

ArtifactId

urlshortener
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

urlshortener
Java library for URL shortening services
Project URL

Project URL

https://github.com/maginatics/urlshortener
Source Code Management

Source Code Management

https://github.com/maginatics/urlshortener

Download urlshortener

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.0.13
org.slf4j : slf4j-api jar 1.7.5
com.squareup.retrofit : retrofit jar 1.3.0

test (2)

Group / Artifact Type Version
org.assertj : assertj-core jar 1.5.0
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

urlshortener: A Java client for URL shortners

Build Status

This is a dead simple client for interacting with various URL shortening services. Supported services: bit.ly and goo.gl. Diwaker Gupta originally wrote urlshortener at Maginatics.

Usage:

    UrlShortener shortener = UrlShorteners.bitlyUrlShortener(bitlyAccessToken);
    // Or googleUrlShortener(googleApiKey)
    URL shortUrl = shortener.shorten(longUrl);

That's it!

Get It

urlshortener is available via Maven Central:

<dependency>
    <groupId>com.maginatics</groupId>
    <artifactId>urlshortener</artifactId>
    <version>0.3.0</version>
</dependency>

License

Copyright (C) 2013-2014 Maginatics, Inc.

Licensed under the Apache License, Version 2.0

com.maginatics

Maginatics

Versions

Version
0.3.0
0.2.0
0.1.0