This is a family of APIs that I made for numerous usage cases, for example the email validator will valiate email addresses for the file.coffee project.
For the full list, head over to lngzl.nl/api. I'll try my best to always update this library when I change things over at the API itself.
It currently supports almost all public APIs that I've made, excluding the ua one since it will always return the same useragent so I felt like it wasn't needed.
- File.coffee statistics (filecoffee)
- Email validator (mailcheck)
- Minecraft server status (mcserver), ratelimited to 30 requests a minute.
- Random one liner (oneliner)
First install the package by running npm i lngzl
const lngzl = require('lngzl')
lngzl.filecoffee(r => {
// Returns the file.coffee statistics, they update once a minute.
console.log(r)
})
lngzl.mailcheck('hi@file.coffee', r => {
// Verifies if the email address is valid according to the RFC 5322 Official Standard
console.log(r)
})
lngzl.mcserver('mc.hypixel.net', r => {
// Will return success: false when you get ratelimited
// You don't need to enter an port if your IP ends on 25565 as it will add it automatically.
console.log(r)
})
lngzl.oneliner(r => {
// Returns a random one liner
console.log(r)
})
- [ ] Fix the MOTD for servers that run on bungeecord, for example mc.hypixel.net doesn't work properly (on the end of the API)