JBug:Brasil - Urban Dictionary Java Client

Provides support to a java application to retrieve english terms from urban dictionary. http://www.urbandictionary.com/

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

br.com.jbugbrasil
Идентификатор

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

urban-dictionary-client-api
Последняя версия

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

1.2.Final
Дата

Дата

Тип

Тип

jar
Описание

Описание

JBug:Brasil - Urban Dictionary Java Client
Provides support to a java application to retrieve english terms from urban dictionary. http://www.urbandictionary.com/
Ссылка на сайт

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

https://github.com/jbug-brasil/ub-java-client
Система контроля версий

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

https://github.com/jbug-brasil/ub-java-client

Скачать urban-dictionary-client-api

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

<!-- https://jarcasting.com/artifacts/br.com.jbugbrasil/urban-dictionary-client-api/ -->
<dependency>
    <groupId>br.com.jbugbrasil</groupId>
    <artifactId>urban-dictionary-client-api</artifactId>
    <version>1.2.Final</version>
</dependency>
// https://jarcasting.com/artifacts/br.com.jbugbrasil/urban-dictionary-client-api/
implementation 'br.com.jbugbrasil:urban-dictionary-client-api:1.2.Final'
// https://jarcasting.com/artifacts/br.com.jbugbrasil/urban-dictionary-client-api/
implementation ("br.com.jbugbrasil:urban-dictionary-client-api:1.2.Final")
'br.com.jbugbrasil:urban-dictionary-client-api:jar:1.2.Final'
<dependency org="br.com.jbugbrasil" name="urban-dictionary-client-api" rev="1.2.Final">
  <artifact name="urban-dictionary-client-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='br.com.jbugbrasil', module='urban-dictionary-client-api', version='1.2.Final')
)
libraryDependencies += "br.com.jbugbrasil" % "urban-dictionary-client-api" % "1.2.Final"
[br.com.jbugbrasil/urban-dictionary-client-api "1.2.Final"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.jboss.resteasy : resteasy-client jar 3.1.2.Final
org.jboss.resteasy : resteasy-jackson-provider jar 3.1.2.Final
com.fasterxml.jackson.core : jackson-databind jar 2.8.7

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

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

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

Urban Dictionary Java Client

Urban Dictionary Client to use within your Java applications

Supports:

  • org.codehaus.jackson
  • com.fasterxml.jackson

How to use it?

Add the following dependency on your pom.xml:

<!-- Urban Dictionary client -->
<dependency>
    <groupId>br.com.jbugbrasil</groupId>
    <artifactId>urban-dictionary-client-api</artifactId>
    <version>1.2.Final</version>
</dependency>

Then

UrbanDictionaryClient client = new UrbanDictionaryClientBuilder().term("lol").numberOfResults(1).showExample().build();
List<CustomTermResponse> response = client.execute();

Where:

  • term is the word that you want to search.
  • numberOfResults in it absence the default value is 1, you can add more results to your search by setting this parameter.
  • showExample by default it is false, if you set it the result will bring a exemple about the term usage.

Issues or suggestions?

Please submit your suggestion, we really appreciate it.

br.com.jbugbrasil

JBug:Brasil

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

Версия
1.2.Final