import an API from URL