Nextdoor/kingpin

Create simple_api.BaseJSON Class

diranged opened this issue · 1 comments

So I was thinking that most of the simple APIs we want to interact with are basically JSON based APIs that use OAuath2 for logins (RightScale 1.5 API, Slack, Pagerduty, etc). The rough form of all of these APIs is the same, with only their API calls being unique.

It may take a bit of work, but I think we can create a dynamically-built API actor that can be quickly re-used to build clients for these various backend services. It may even serve as the long-term replacement for the python-rightscale class.

Pull request #192 will do this, and include a Slack message actor.