finished Gamerelation function in api_com