Skip to content

maginatics/urlshortener

Repository files navigation

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

Releases

No releases published

Packages

No packages published