The Supreme Court ruling was a mixed bag that many observers are still parsing. In a 6-2 decision, justices sided with Google and its argument that the company’s copying of 11,500 lines of code from Oracle’s Java in the Android operating system was fair use. At the same time, though, the court appeared to be operating under the assumption that APIs are copyrightable.
Source: Months later, we’re still making sense of the Supreme Court’s API copyright ruling