Get the latest tech news

Everything I know about good API design


Most of what modern software engineers do involves APIs: public interfaces for communicating with a program, like this one from Twilio. I’ve spent a lot of time…

Even with banners on the website, docs, custom emails, and headers on the API response, when you finally remove the old version, you will still get a lot of angry users upset that you’ve broken their software. Creating and deleting the same records hundreds of times per-minute, for no real reason Polling a big/index endpoint with no delay in between, forever Importing or exporting a ton of data without backing off in case of errors This is part of the idea behind GraphQL, a style of API where instead of hitting different endpoints per-operation, you craft a single query with all the data you need and the backend figures it out.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of API

API

Photo of good API design

good API design

Related news:

News photo

Apple prepping allowing API access to any external LLM model for enterprise on devices beyond ChatGPT

News photo

X pulls the ability to like and follow from its developer API’s free tier

News photo

Launch HN: Reality Defender (YC W22) – API for Deepfake and GenAI Detection