Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darckfast/urban-dict
https://github.com/darckfast/urban-dict
streamelements twitch urbandictionary vercel
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/darckfast/urban-dict
- Owner: Darckfast
- Created: 2024-03-18T15:28:08.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T21:03:23.000Z (about 2 months ago)
- Last Synced: 2024-11-23T21:18:30.076Z (about 2 months ago)
- Topics: streamelements, twitch, urbandictionary, vercel
- Language: Go
- Homepage: https://darckfast.com/api/urban
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![logo](.github/images/urban-dict.png)
# Urban dict
This API retrieves entries from Urban Dictionary, and return them formatted as plain text
It also has a 10 seconds cache for random entries ( without the term ), meaning it's essential to pass the argument `channel` in the URL
The max characters are capped at 400
## StreamElements
To set up this using StreamElements, add a custom command with the following```
${customapi.https://darckfast.com/api/urban?term=${pathescape ${0:}}&channel=$(channel)}
```### Usage
A term can be informed or not, in case it's empty, a random entry will be returned
```
!urban
!urban glizzy
```