A different version of APIv2 endpoints.

A while back I started maintaining this version with APIv2 endpoints. It is quite different than the two files you have, but I thought you might be interested. Either way, let me know.