As developers, we all know that if a library, framework or an API that we are willing to use is too complicated to use or integrate, we will end up looking for an other one. So if you are trying to build an API or a library, the biggest challenge is not to publish it, but achieve to make it use by other developers. And this all depend on the developer experience (DX) that you provide parallely to the product you are providing. Here is what I've learnt in 2 years of working on developer experience of an API.