Live data from Hacker News

Ask HN: What API do you wish you had while building your product?

news.ycombinator.com

81–90 of 151 posts

Re: Ask HN: What API do you wish you had while building your product?

#81
post #64

Earlier quoted context omitted.

The cron alternative that does something only once is 'at'.

The modern at alternative is: systemd-run --user --on-calendar=23:20 notify-send Example Or relative with --on-active=60. And you automatically get the normal systemd tooling, e.g. systemctl list-timers.

well this works fine for a single host. but if you deal with a cluster or inside a cloud you better use kubernetes for that.

Re: Ask HN: What API do you wish you had while building your product?

#82
A postgres API to specify query plans directly, bypassing the planner. I usually know exactly what algorithm makes the most sense, and it's not uncommon for the planner to choose something considerably worse, forcing me to break queries up, write them in strange ways, or disable strategies.

Re: Ask HN: What API do you wish you had while building your product?

#83
Video Games.

There are a few, but none provide some important information or have a reliable, complete data set. In particular, box art, UPC codes. From my research the Giant Bomb and Moby Games API's seem to be the most complete, but neither have the UPC. The only place I can find that is another API which is rather lacking in completeness and data.

Re: Ask HN: What API do you wish you had while building your product?

#84

Let me programmatically schedule a task to run at a specific time, just once. E.g. if my user tells me to remind them about something in a day, I want to schedule a task to do that exactly 24 hours from now. I'm sure this exists already but it's hard to find because searching usually points me to a cronjob service. But what I'm looking for is distinct from a that. I don't want to run something every minute or hour or…

I've heard good things about Autohotkey, but every time I try to do even the simplest of tasks it becomes a hassle. Like even just clicking on a specific point on your screen you have to know the exact coordinates of the place you want clicked. It seems like it'd be very easy just to record where you want to click.

Re: Ask HN: What API do you wish you had while building your product?

#85

A generic communication API (this might exist). When I want to communicate with my customer, it handles how they receive the message - whether that's SMS, Email, IM, slack, etc.

Yep. I thought of this too. The recipient can specify which way to receive notifications from whom.

Re: Ask HN: What API do you wish you had while building your product?

#87
post #75

An API providing access to coupons from major retailers in a machine readable format. Edit: Great question by the way!

Can you tell me more about how you would've integrated the API? I think I could've helped out.

The issue wouldn't have been implementation - it was sourcing the coupons themselves. You'd have to sign agreements with multiple vendors and force them to use your system instead of their own.

Re: Ask HN: What API do you wish you had while building your product?

#88

An API for handling image processing/uploading to S3: Use 1: Send a high-res image in any format (like, say, tiff), the original, a web-optimal jpg at full resolution, and any sizes that might be needed in various contexts (thumbnail, inline display at any screen density) are put into the right place in my S3 bucket. Use 2: Using ids or original file names, point the API to an image or array of images, uploaded via U…

We've had an excellent experience with http://cloudinary.com/ for pretty much what you describe.

as a consultant, I picked up cloudinary for a client, promised "75,000 Total Images & Videos" then a team of four people used the free data shortly, they contact us saying to either pay $44 per month or shutdown, why? we are over free bandwidth...

relocated a developer to spent some hours writing a restful services, now paying ~$0.030 per GB

Post reply on HN