I know I am late to the party, but I concur that dealing with authentication is 90% of the hurdle. I've had do all kinds of things like examine Python code before - not that it's easy to tease out. The general things you need tend to be the same like,
MIME::Base64 and
Digest::SHA, but the way they want you to combine strings (keys, usernames, password) and the headers they want you to provide are always a crap shoot.
I am not going to post the code because idk if it's correct and it seems wrong to do in the monastery, but chatgpt seems to be happy suggesting a Perl solution for this. If you make some progress and have questions, please report back.
update: this is awkward, I was gone so long I forgot I had replied to this and didn't even notice. hopefully the additional info is helpful
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.