you could also download the apiconsumer package and move the directory to a desired location where your scripts can then call it.
You could simply copy the ApiConsumer.php file to a desired location and call it that way as well.