<http://goneat.org/lp/lpad>
---------- Forwarded message ---------- From: Gustavo Niemeyer <gustavo.nieme...@canonical.com> Date: Tue, May 10, 2011 at 3:35 PM Subject: Bootstrap of lpad is live To: Ensemble <ensem...@lists.ubuntu.com> The bootstrap of lpad is live. lpad is the Launchpad client library for Go which we'll be using in the repository server side to authenticate and talk to Launchpad about the data the Ensemble repository will need for providing its services. lpad is based on a two-layered design. The top layer offers a static API which allows a more comfortable interaction with the API with static checks, better documentation, and more. The bottom layer is fully dynamic and enables the developer to access all the features of Launchpad, even those not supported by the top static layer. While there's still quite a bit to do, in depth terms the library is complete. The initial branch is available at: bzr branch lp:lpad and the full API documentation is already up and synchronizing automatically at: http://goneat.org/lp/lpadL As expected, the library is also well tested, including integration tests which communicate with the real production servers. Here is a trivial example demonstrating its use: root, err := lpad.Login(lpad.Production, &lpad.ConsoleOAuth{}) check(err) me, err := root.Me() check(err) fmt.Println(me.DisplayName()) I'll continue evolving the library a bit more until the needs of the repository are covered, which shouldn't take too long. Please check it out and see what you think. -- Gustavo Niemeyer http://niemeyer.net http://niemeyer.net/blog http://niemeyer.net/twitter -- Ensemble mailing list ensem...@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ensemble _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp