There is (or at least was) an API, AFAIK read-only though. I still don't see why one couldn't combine the API and scrapping to get a full read/write interface going.
Or better: why can't HN developers please work on API? Probably brcause building one takes too much effort.... and they don't see reasons to develop one.