Sign in to follow this  
Followers 0
tickling

Using Autoit to operate box.net service - help

5 posts in this topic

Hi,

I am trying to write an autoit script that uses this api

http://dev.box.net/api-documentation

I am lost as to which library function to use and if this is possible at all

can anyone give me some pointers on how to go about it ? Thanks

Share this post


Link to post
Share on other sites



It is probably a SOAP (MS version of xml-rpc) api since it is used by something called NET.

Take a look at the xml-rpc site for explanations.

You have to implement a http client in AutoIt or find a library simplifying xml-rpc calls.

You can find vb (COM) implementations that could work with AutoIt.

If you find a reasonable solution please post it as this is something that others will benefit from :D

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks Uten

What I understood is that there is a whole level missing here between Autoit TCP functions and the XML-operated thing. I found some vb code that posts via http but there seem to be some headers and wrappers and this is a bit beyond me.

Maybe some heavy weight here on the forum can look at it ? Having online storage (and free up to 1Gb) operated via autoit can be a cool addition for many - this is probably not just me :D (btw I have no affiliation with them, just a free account)

Edited by tickling

Share this post


Link to post
Share on other sites

Thanks Uten

What I understood is that there is a whole level missing here between Autoit TCP functions and the XML-operated thing. I found some vb code that posts via http but there seem to be some headers and wrappers and this is a bit beyond me.

Maybe some heavy weight here on the forum can look at it ? Having online storage (and free up to 1Gb) operated via autoit can be a cool addition for many - this is probably not just me :whistle: (btw I have no affiliation with them, just a free account)

At least SOAP:Lite has COM interface

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Except for SOAP and XML-RPC, which require you to format the HTTP calls in XML, you can use my HTTP library that's a wrapper to the XmlHttpRequest object.

http://www.codeproject.com/useritems/httpautomationlibs.asp

Get the VBScript or Javascript library. I'm in the process of updating the Javascript library.

Unfortunately, if you get XML as the HTTP response, you will have to parse that out yourself.

Also a look at the box.net site tells me that it supports plain HTTP via REST interface. But the return data could still be XML though.

Edited by daluu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0