Help getting started with local IP devices with the API

How about my code here:

Already works with dlink cameras. Feel free to fork and do what you need.