I think we're talking about Blizzards
external APIs
As far as I can tell, you can't post auctions just view current auctions.
The script could probably output to a table in a SavedVariables file but you would still have to log into the game to post anything. I've never really looked into it so...