slice languages array on getGithubApi