softlayer/softlayer-api-python-client — pull request #15 by sudorandom (2013-01-21 16:23:13+00:00)
Title: Version 2

* Easier to use API. client['Service_Name'].methodName(body, id=init_param, filter={}, mask={}, limit=10, offset=0). You don't have to create a new client for every type of service. You don't have to worry about removing limit, offset, etc. headers when you're reusing a client instance.
* Backwards compatible with the new API, but that method is now deprecated. e.g.
```python
import SoftLayer.API
client = SoftLayer.API.Client('SoftLayer_Account', None, 'username', 'api_key')
client.set_object_mask({...})
client.set_result_limit(10, offset=0)
client.getObject()
```
changes to
```python
import SoftLayer
client = SoftLayer.Client(username='username', api_key='api_key')
client['Account'].getObject(mask={..}, limit=10, offset=0)
```

* MANY bug fixes
* Adds Ability to use object filters
* Adds many more tests
* Adds travis support (https://travis-ci.org)
* Adds proper module params. e.g. SoftLayer.__version__
* Custom User-Agent
* Fixes help(client)
* Makes SoftLayer_ prefix optional for service names.
* requirements.txt now has the correct dependencies needed to run the tests.

I added a working .travis.yml file for travis-ci support which tests the code against python 2.5, 2.6, 2.7, 3.2 and 3.3. However, this requires some set up on https://travis-ci.org