ryw / pinboard

Ruby wrapper for Pinboard API
https://rubygems.org/gems/pinboard
MIT License
121 stars 21 forks source link

Return posts in a date range #17

Closed jpfinley closed 11 years ago

jpfinley commented 11 years ago

I'm wondering if it's possible to return posts for a given date range. Perhaps something like

pinboard.posts(:fromdt => start_date, :todt => end_date)

I looked through the source but could not find where those parameters were being implemented. Thanks for any insight you can provide.

badboy commented 11 years ago

It should just work, as the code does not even check for valid parameters sent to the API (see https://github.com/ryw/pinboard/blob/master/lib/pinboard/client.rb#L35-41).

If you still got problems just reopen the issue, for now closing it.