Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Automatic Uploader Script

by olus (Curate)
on Dec 13, 2007 at 19:58 UTC ( #656900=note: print w/replies, xml ) Need Help??

in reply to Automatic Uploader Script

Hi sadarax

I downloaded the API for PHP and look into the source.
It seems that all you need to do is generate an API key and secret key in your DivShare welcome page.
With those in hand you can use LWP (or WWW::Mechanize, but I don't know this module) to post a request to: +OUR_EMAIL&user_password=YOUR_PASSORD
The server will respond with an XML that will have your SESSION_KEY.
Then, from the API documentation, you must request for an UPLOAD_TICKET. Another post: +api_session_key=SESSION_KEY&api_sig=
Parse the XML for the upload ticket and build the form as shown in

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://656900]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-06-22 22:18 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (109 votes). Check out past polls.