Define words from urbandictionary.com
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file helga-lingo-1.0.7.tar.gz
.
File metadata
- Download URL: helga-lingo-1.0.7.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a3b704eba5ed35c34226c08c4f83afe1ea31749642c7f049a87b390d1403c9 |
|
MD5 | 46b15af76c8678ad28e9ce42ea17dd04 |
|
BLAKE2b-256 | e82d5abdc8712dcc8a782e57c0b64d037bfa36d1cff6ba771f912def1c4880d8 |