3 ms·
> "Before launching an API, you should come up with 5-10 compelling usecases that someone couldn't use your website for." Not necessarily. Sometimes what you w
by ZenoArrow 11y ago
> "Before launching an API, you should come up with 5-10 compelling usecases that someone couldn't use your website for."
Not necessarily. Sometimes what you want is to combine data from multiple sources in interesting ways. A single API doesn't need to be versatile, it just needs to make useful information available.
- gkoberger 11y agoSure, this counts as a compelling usecase. Maybe your API just lets users list Items chronologically since that makes sense for your site, but someone else wants to get Items by location. Many times, the only way to do what you want with data is to use the API to get everything, then transform it locally. This is obviously really inefficient (and sometimes impossible).
- RangerScience 11y agoThis is true, but if you never take the effort, I'd expect you to build a pretty bad API.