When developing an API, I like to practice "documentation-oriented design." The first thing I do is write documentation of the API, and then I write APIs to fit that documentation (iterating both in parallel once I start writing the API).
I figure that the documentation is the first thing a developer faces when using an API, so it should also be the first thing I write.