Skip to content

io-sgr/urlshortener-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google URL Shortener

Build Statuscodecov

A java library for Google URL Shortener

How to use

public class Example {
    
    public static void main(String... args) {
        GoogleURLShortener shortener = new GoogleURLShortener();
        String longUrl = "https://github.com/io-sgr/urlshortener-google";
        String shortUrl = shortener.shortenURL("<some_origin>", "<your_api_key>", longUrl);
        System.out.println(shortUrl);
    }
    
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages