Extensible library for accessing RESTful APIs