3 ms·
This is really cool, especially because I can just 'wget -qO- $RANDOM.which.nameserve.rs/api.json?callback=myfunction' which means I can use this in scripts. (F
by arminiusreturns 6y ago
This is really cool, especially because I can just 'wget -qO- $RANDOM.which.nameserve.rs/api.json?callback=myfunction' which means I can use this in scripts. (For example an added field to scripts that grab from ifconfig.co)
- Fileformat 6y agoThanks, I use it like this for some of my pages. But please, only light, non-commercial use! It is on the cheapest static IP that I could find with no failover or anything. It is really easy to run your own copy if you need it for a commercial project.
- arminiusreturns 6y agoDuly noted. It's ok, most of my scripts just pile up the cobwebs and never get used anyway, and they are all personal, not commercial. I would of course consider standing up my own for any real use. Good work! Now you have me thinking about the economics of api as a service... another rabbit hole.
- jwilk 6y agoNote that $RANDOM is just 15 bits of entropy. You should use something more random.
- Symbiote 6y ago$RANDOM$RANDOM$RANDOM$RANDOM$RANDOM should be fine :-)