JBug:Brasil - Urban Dictionary Java Client

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

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

br.com.jbugbrasil
ArtifactId

ArtifactId

urban-dictionary-client-api
Last Version

Last Version

1.2.Final
Release Date

Release Date

Type

Type

jar
Description

Description

JBug:Brasil - Urban Dictionary Java Client
Provides support to a java application to retrieve english terms from urban dictionary. http://www.urbandictionary.com/
Project URL

Project URL

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

Source Code Management

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

Download urban-dictionary-client-api

How to add to project

<!-- 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"]

Dependencies

compile (3)

Group / Artifact Type Version
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)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.2.Final