whell when it comes to the USA, the law is fairuse
The Supreme Court surprised everyone with its API copyright ruling.
arstechnica.com
In Europe, the Software Directive (2009/24/EC) states that ideas and principles underlying any element of a computer program, including those underlying its interfaces, are not protected by copyright and was ruled by the EUCJ in 2012 in
SAS Institute, Inc. v
World Programming Limited (C-406/10) to rule that APIs are not protected by copyright because they are functional in nature
sure not accessing the servers, but would just need the ability to communicate with their servers.