4 ms·
How to design a great API: 1) Give me some very very valuable data that can help my business. (90% of it) 2) Ensure reliability and uptime (9% of it) 3) Make it
by AznHisoka 13y ago
How to design a great API:
1) Give me some very very valuable data that can help my business. (90% of it)
2) Ensure reliability and uptime (9% of it)
3) Make it RESTFUL and have good documentation (1% of it).
- tieTYT 13y agoI consider Mockito (a java library) to have a great API. Only your 3) applies to it.
- AznHisoka 13y agoI guess I was referring more to web services that provide data.
- ianstormtaylor 13y agoI'd consider Salesforce to have #1 and #2, but pretty sure no one who's used their API would call it "great".
- gfosco 13y ago4) Don't use SOAP (the other 90% of it.)
- splicer 13y agoIf I'm writing a system library in C, I'm supposed to somehow make it RESTFUL?
- nfoz 13y agoIt's weak, but you might consider strtok() to be less restful than strlen() because it isn't stateless.
- ramchip 13y agoThe I in API is for interface - 1 and 2 are just about having a great web service :)