fix api complete script urls

The urls used in the apicomplete script don't work anymore. This PR fixes that.