initial work on Requests-like API