Skip to main content
Help us improve Python packaging – donate today!

Define words from urbandictionary.com

Project Description

https://badge.fury.io/py/helga-lingo.png https://travis-ci.org/narfman0/helga-lingo.png?branch=master

Define words from urbandictionary.com

Usage

!lingo <term>

Queries urbandictionary for the given term

Example:

!lingo dig

Returns:

A word to use when you're insulting someone. Like a "burn" or a "blast". An
insult. A dig isn't usually meant seriously. It's normally used in a joking
manner with a hint of truth. :)

!lingo <term> <index>

When a term has multiple definitions, one may retrieve a consecutive definition by incrementing index. It implicitly starts at 0, so not including it is like getting the 0th definition.

Example:

!lingo dig 2

Returns (the third definition content):

v.
1. To perceive and comprehend the nature and significane of; grasp; gather.
"Ya dig? Yeah I can dig it"
etc.

!lingo -d <term>

Execute regular lingo query, but return debug results as well

Methodology

Uses the official urbandictionary api, parsing the json response, and returning the definition according to the index the user provides. By default, this is the first, or 0th, index.

An example API call for the term ‘api’ would be:

api.urbandictionary.com/v0/define?term=api

License

Copyright (c) 2014-2016 Jon Robison

See included LICENSE for licensing information

Release history Release notifications

This version
History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
helga-lingo-1.0.7.tar.gz (15.7 kB) Copy SHA256 hash SHA256 Source None Dec 9, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page