get the data from api with jsonP