Once you get an account with infusionsoft.com or register with them for a sand box, you will get an email with your Infusionsoft ID and you app url. The app URL looks like this:
# https://<app_name>.infusionsoft.com
# example: https://kd425.infusionsoft.com
Now you need to activate your api:
- In your browser, go to https://kd425.infusionsoft.com
- Login using your Infusionsoft ID from the email.
- Follow the instructions on the ingusionsoft get-started guide about api-key
- Grab the Encrypted key generated at the end of the guide.
Now just run infusionsoft_test.rb from the command line like so:
# Usage: ruby infusionsoft.rb -k <YOUR_ENCRYPTED_KEY> -u <YOUR_API_URL>
# API URL SHOULD NOT INCLUDE https://
# Example:
ruby infusionsoft.rb -k 16433bf33d112aabfa724596b43d4609 -u kd425.infusionsoft.com