Maybe you could! Perhaps a sample data API that creates users like "John Chocolate Oreos," address "100 Pack Street", age 19.99, email "visit<at>oreo.com"
These days I keep an API deployed on a subdomain I control.
> having made the mistake of using a public API (that later went offline) for examples in a book of mine
Literally a tale as old as time. The Old Testament references a command from God, that is not contained in the Old Testament itself.Add a fancy feature of redirection with format changing to handle replacing dead APIs with new ones transparently.
If anybody makes one of these, they should totally make it a free public API. I'd use it, and I'm not certain if that would just be ironically.
Best part is that 'sign up' links to https://archive.org/donate/
Just like the npm package, all it should do is call isevenapi.xyz and invert the result.
I'm not saying these shouldn't exist, I think they're pretty funny, but everything in its place.
I wish programmers would internalize this. They often seem to take APIs uncritically, not questioning whose resources they're using and where does the data come from as well as its quality beyond obvious cases. APIs are leaky abstractions as all abstractions are.
There's not a lot of incentive to create a service if you feel like no-one will ever know about it. I have had a few thoughts for services that I might have developed if I thought anyone would ever see it.
There's probably an argument for sponsorship here as well, not as a vehicle for advertising, but just companies paying for (or supplying resources) to cover the ongoing costs of the service as a public good. I wish I could make something that worked and could put it somewhere and commit zero mindspace to billing, server maintenance etc. and just have it keep running, forever.
Where does one get a geo location for an IP address from?
- https://web.archive.org/web/20180530151717/https://forestry....
- https://web.archive.org/web/20180525154607/https://forestry....
This is really great overall. I like the interface on mobile, and search works great for me so far. Bookmarking for later.
One nitpick: why can I not open like KS to API sub-pages in a new tab? Are Hyperlinks unfashionable now?
Found public resources I always wished existed.
I was quite disappointed because I loved the product, a dashboard for arbitrary live data sourced from APIs, but the cost of maintaining it was too high.
And there's a weekly data dump of our database: https://rubygems.org/pages/data
Not to QC the link title, but ;)