kadirpekel/hammock — pull request #3 by maraujop (2012-08-31 16:04:33+00:00)
Title: Simplifies GET filtering

Hi @kadirpekel,

First, I would like to congratulate you with hammock. It's simple/beautiful and has magic where it should have it.

I'm not sure if you've heard of slumber. I recently found hammock and I've decided porting slumber code to hammock. It's quite a plug and play process.

One of the things I did like from slumber that could be arguable, is the way you could pass GET parameters. This patch allows the same type of syntax:

```
api.resource.GET(filter=whatever)
```

Only non special requests keyword arguments are allowed this way. So you cannot merge both, for example, this raises an `Exception`:

```
api.resource.GET(filter=whatever, timeout=12)
```

`timeout` as you know is a special requests parameter. This eases portability, covers a very common case, for which is nice to have a simplified syntax.

Cheers,
Miguel