Query github api for target.