mrtazz/simplenote.py — pull request #2 by i5m (2011-10-11 10:18:37+00:00)
Title: Add optional argument to get_note_list() to specify number of notes to return

Hi mrtazz,

I've hundreds of notes stored in Simplenote and so retrieving a list of all notes can be a bit slow for me. More often than not I only want to list the most recent ones I've been working on. So I've been looking to modify simplenote.vim so I can say "just list the first 10 notes", i.e. `:Simplenote -l 10`.

I thought I'd start with simplenote.py and get some feedback from you if it's ok, before I look to implement in simplenote.vim.

How does this look to you? I'm not sure whether the `qty=float("inf")` is good practice or not ([link](https://github.com/i5m/simplenote.py/commit/ef3b4ee93751a19f6c8ce8dc5333d2d5806e2b09#L0R159)). I have also had a go at adding two tests for this feature (all tests pass).