Live data from Hacker News

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

news.ycombinator.com

31–40 of 151 posts

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

#31

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…

Sounds like https://transloadit.com could've served you well there.

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

#33

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…

https://www.imgix.com/ has worked fine for us, it's essentially a proxy for an S3 bucket and you can parameterize image requests for scaling, dpi etc

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

#34
An API where I could point end user video uploads to and have them processed, transcoded and playable on all platforms. One that also works at the RTMP/WebRTC layer (i.e. not just an all-in-one JS library with it's own idea of a 'good UI') and doesn't require me to do an API call first to set up the stream for the user (i.e. encode 'upload rights' using expiring HMAC-signed blobs including restrictions such as maximum length and/or file-size to prevent people having me transcode movies for them for free.)

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

#35

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.

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

#37

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…

[deleted]

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

#40
post #6

I wanted machine learning-based app configuration. So I built it and spun it out as a separate product: https://improve.ai/

Awesome! I was looking for exactly a service like this (was almost going to build it myself) so will definitely try it out!

Cool. I would love any feedback! In the next couple of weeks I'll be adding a YAML format with the entire configuration in one file. It'll look something like this:

  properties:
    buyButtonText:
      variants:
        - buy now
        - free trial!
      by:
        property: os
          for:
            - ios
            - android
The response would look like:

  properties:
    buyButtonText: 
      ios:  free trial!
      android: buy now
Using the "by" statement you'll be able to segment the configuration by any other property.
Post reply on HN