learning api and github