Parse command line arguments to specify URL and ApiKey