It should be a function that takes the topic and a GitHub API token, returns a promise with the data or throws an error message.