I'm looking for a distinction between code and an API. I think that the code that defined the APIs is copyrightable. If someone copied that code, it seems relatively cut and dry. Now if someone produced a similar interface but with entirely their own code, then it seems fine?