Live data from Hacker News

A Collection of Free Public APIs That Is Tested Daily

freepublicapis.com

81–90 of 130 posts

Re: A Collection of Free Public APIs That Is Tested Daily

#81
post #39

Earlier quoted context omitted.

I don't really understand why one would build an HTTP API for this. I can't imagine the database being more than a few megabytes, the whole thing could probably be served as a JSON file.

I assume it's intended to be used in an educational context. Learning how to work with a simple API is more fun that way.

The last category on the left sidebar is "FHGR", which I'm guessing stands for Fachhochschule Graubünden, and indeed under IM2 we find:

> APIs handpicked by the University of Applied Sciences of Grisons for their IM2 JavaScript programming course...

Re: A Collection of Free Public APIs That Is Tested Daily

#82
post #31

I'm glad to see https://isevenapi.xyz/ made the list.

What I really want is isoddapi.xyz. Just like the npm package, all it should do is call isevenapi.xyz and invert the result.

Putting the 'micro' into microservices one bit of logic at-a-time :)

Re: A Collection of Free Public APIs That Is Tested Daily

#83
post #3

(This doesn't apply to every API in the list, but) having made the mistake of using a public API (that later went offline) for examples in a book of mine, never again. 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.

That explains Mel Brooks' 5 missing commandments. Where's the undef ref?

Re: A Collection of Free Public APIs That Is Tested Daily

#86

Earlier quoted context omitted.

I'd like to see isfizzbuzz.xyz. Ideally, before 11:30 AM ET this Friday.

https://api.isfizzbuzz.xyz/ Cheers!

Awesome but seem to fail on some numbers e.g.

https://api.isfizzbuzz.xyz/api/15000000000000000000000000000...

BTW, there are neat divisibility rules which can give you the answer in practically linear time when the number is in decimal: https://en.wikipedia.org/wiki/Divisibility_rule

Re: A Collection of Free Public APIs That Is Tested Daily

#89
post #31

I'm glad to see https://isevenapi.xyz/ made the list.

What I really want is isoddapi.xyz. Just like the npm package, all it should do is call isevenapi.xyz and invert the result.

And then isevenapi.xyz should call isoddapi.xyz and invert the result to offload all the work to them.
Post reply on HN