Live data from Hacker News

Ask HN: As a Developer, what API would you like to use, but does not exist?

news.ycombinator.com

11–20 of 37 posts

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#12

API to check if today/certain date is a public holiday

Is this for the US, or any arbitrary country? Does it take the country as a param?

if you have to ask - you won't get far.

They told you what they want - now go build something in your vision. Once you have users they will tell you what they want.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#13
post #7
post #4

A parsing API handling common forms like "strings", parens, {blocks}, key:value ...

Thanks for taking the time to respond. Can you explain? What would you send, a string? What would the response be? Can you please provide an example?

> What would you send, a string?

Yes (or an URL).

> What would the response be?

JSON or CSV with options to allow filtering on certain types of tokens (only numbers or strings for example).

The output could be a tree (with children for a block) or flat.

I'm on freenode (see my profile) if you want to talk about that.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#14

API to check if today/certain date is a public holiday

Is this for the US, or any arbitrary country? Does it take the country as a param?

Good question, multiple country support would be an awesome addition. Yes, can pass country as a param.

Difficulty of the implementation would be gathering public holiday info for different country as it would change every year.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#16

Earlier quoted context omitted.

Is this for the US, or any arbitrary country? Does it take the country as a param?

if you have to ask - you won't get far. They told you what they want - now go build something in your vision. Once you have users they will tell you what they want.

Seems far more sensible to me to gather more information from the original idea giver before going off to build something.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#17

API to check if today/certain date is a public holiday

https://holidayapi.com fits the bill?

Cool! Didn't knew this existed, sadly my country is not listed there, will contact them for this.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#20
post #7

Earlier quoted context omitted.

Thanks for taking the time to respond. Can you explain? What would you send, a string? What would the response be? Can you please provide an example?

> What would you send, a string? Yes (or an URL). > What would the response be? JSON or CSV with options to allow filtering on certain types of tokens (only numbers or strings for example). The output could be a tree (with children for a block) or flat. I'm on freenode (see my profile) if you want to talk about that.

I'm still not clear on what this would do. Can you provide a few examples?
Post reply on HN