Hi Community,
I am trying to connect to the API of the financial / 13f service, Whale Wisdom, of which I have a paid subscription. The link below explains their API requirements:
The API Call must be formatted as seen below:
I am using the HMAC Macro (https://gallery.alteryx.com/#!app/HMAC-Encrypt--Installer-/576326f1aa690a05284b2e7b) to generate the [api_sig] portion of the call as defined below (I cannot post a workflow with our shared & secret keys):
I've confirmed with the service that the input into the HMAC should be as below:
But when I concatenate the generated [api_sig] back into the URL to create the GET Request, I am getting a "signature mismatch" error from the download tool.
Please let me know if you have experience with this situation! Thanks in advance for your time!
Regards,
Chris
Solved! Go to Solution.
@attardc1 See if the attached works when you put your key and secret in the text input. I got past the signature invalid error on my end.
@attardc1wrote:
I've confirmed with the service that the input into the HMAC should be as below:
- {\"command\":\"holdings\",\"filer_ids\":[349,2182]}\n2018-3-29T11:04:17Z
I think you need to 1) delete the \ that precede your " and replace the \n with a true newline character. In alteryx that looks like this (where args is coming from a text input and the timestamp is calculated:
I am now receiving an error, but I assume it's due to me setting up a free account and not limiting the data. I assume it will work fine for you if you use your key and secret in the workflow.
Hope that helps!
@patrick_digan Thank you so much for your help!
That worked perfectly!