Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacobian/valor

Python HTTP clients for APIs represented by JSON Schema.
https://github.com/jacobian/valor

Last synced: 2 months ago
JSON representation

Python HTTP clients for APIs represented by JSON Schema.

Awesome Lists containing this project

README

        

# Valor

[![Build Status](https://travis-ci.org/jacobian/valor.svg?branch=master)](https://travis-ci.org/jacobian/valor) [![Coverage Status](https://coveralls.io/repos/jacobian/valor/badge.png)](https://coveralls.io/r/jacobian/valor)

Python HTTP clients for APIs represented by JSON Schema.

**This is still super-early days yet, many things probably don't work. Use at your own risk.**

Among most other things, docs aren't done, but check this out:

```bash
$ heroku auth:whoami
[email protected]
$ heroku apps
ancient-thicket-4976
arcane-reef-4005
...

$ python -i heroku.py
>>> heroku.account.info().email
u'[email protected]'
>>> [app.name for app in heroku.app.list()]
[u'ancient-thicket-4976', u'arcane-reef-4005', ...]
```

Then see [heroku.py](https://github.com/jacobian/valor/blob/master/heroku.py) as an example of how this works.

![](http://img4.wikia.nocookie.net/__cb20130412040940/cso/images/1/19/Notbad.jpg)

----

What's with the name? The Ruby version of the same thing is [Heroics](https://github.com/interagent/heroics). Heroics. Valor. See what I did there?