using HTTPUrlConnection to make api call
travis