Google URL Shortener

A java library for Google URL Shortener

Лицензия

Лицензия

Группа

Группа

io.sgr
Идентификатор

Идентификатор

urlshortener-google
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Google URL Shortener
A java library for Google URL Shortener
Ссылка на сайт

Ссылка на сайт

https://github.com/io-sgr/urlshortener-google
Система контроля версий

Система контроля версий

https://github.com/io-sgr/urlshortener-google

Скачать urlshortener-google

Как подключить последнюю версию

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

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
com.squareup.retrofit2 : retrofit jar
com.squareup.retrofit2 : converter-jackson jar
com.squareup.okhttp3 : okhttp jar
com.fasterxml.jackson.core : jackson-core jar
com.fasterxml.jackson.core : jackson-annotations jar
com.fasterxml.jackson.core : jackson-databind jar
org.slf4j : slf4j-api jar

test (3)

Идентификатор библиотеки Тип Версия
org.apache.logging.log4j : log4j-core jar
org.apache.logging.log4j : log4j-slf4j-impl jar
junit : junit jar

Модули Проекта

Данный проект не имеет модулей.

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);
    }
    
}
io.sgr

sgr.io

Версии библиотеки

Версия
1.0.1
1.0.0