All References
All
Loading references…
Know a reference we're missing?
Submit one via GitHub and get credited as a contributor once it's merged.
Submit a reference
Music
Songs (enerbot canta)
Loading…
Dances (enerbot baila)
Recommendations (enerbot recomienda una canción)
API Documentation
Endpoints
Two static JSON files on GitHub Pages. No auth, no rate limits, CORS-open.
GET
https://references.neorgon.com/api/v1/references.json
GET
https://references.neorgon.com/api/v1/music.json
Reference schema
{
"id": "orden-66",
"label": "Orden 66",
"source": "Star Wars",
"trigger": {
"pattern": "(orden 66)",
"flags": "i",
"keywords": ["orden 66"]
},
"media": [{
"url": "https://youtu.be/...",
"type": "youtube",
"primary": true
}],
"language": "es",
"tags": ["movie", "star-wars"]
}
Pattern matching — JavaScript
Replicate the bot's matching logic in any JS client. Multiple entries can match the same input.
const res = await fetch('/api/v1/references.json');
const { references } = await res.json();
function match(text) {
return references.filter(ref => {
const re = new RegExp(
ref.trigger.pattern,
ref.trigger.flags
);
return re.test(text);
});
}
match("ya es demasiado");
// → [{ id: "ya-es-demasiado", … }]
Pattern matching — Python
The matching logic works in any language with regex support.
import re, requests
data = requests.get(
"https://references.neorgon.com"
"/api/v1/references.json"
).json()
def match(text):
matches = []
for ref in data["references"]:
t = ref["trigger"]
flags = re.IGNORECASE if "i" in t["flags"] else 0
if re.search(t["pattern"], text, flags):
matches.append(ref)
return matches
match("madre de dios")
# → [{ "id": "madre-de-dios", … }]