evernote-sdk-ruby icon indicating copy to clipboard operation
evernote-sdk-ruby copied to clipboard

Contributing additional helper methods for the evernote SDK

Open captn3m0 opened this issue 10 years ago • 5 comments

As part of an app I'm working on, I extended the Evernote::EDAM::NoteStore::NoteStore::Client class to add a few helper methods. The method signatures are as follows:

  • find_notebook(name) - Find a notebook with given name
  • create_notebook(name) - Create a notebook with given name, which calls Evernote::EDAM::Type::Notebook.new() for you
  • find_or_create_notebook(name) - Search for a notebook by name, and return either that or create a new notebook and return that.

Currently the code is abstracted in an EvernoteUtil class of mine, but I'd be willing to try to patch it back to the sdk. However, I'd like to know if this repo even accepts contributions and if such contributions (adding helper methods not in official API) might be accepted.

captn3m0 avatar Jul 12 '14 05:07 captn3m0

I appreciate all the work that went into this project, but the public API is a little rough around the edges. @sethhitch you guys accepting public contributions at all?

nozpheratu avatar Apr 10 '15 03:04 nozpheratu

@nozpheratu I'd say you should take a look at other evernote API wrappers instead.

captn3m0 avatar Apr 10 '15 07:04 captn3m0

@captn3m0 I saw the evernote_util project, but I think there should be one go-to gem that everyone uses. Having wrappers on-top of wrappers just needlessly complicates things IMO.

nozpheratu avatar Apr 10 '15 17:04 nozpheratu

Yes. I agree. I wish I was conversant with Thrift. The issue is that since its a thrift-based API, its cumbersome to right a gem that does not use Thrift (which screws everything up).

I even wrote a rant on the Evernote API.

captn3m0 avatar Apr 11 '15 04:04 captn3m0

@captn3m0 FWIW, I don't think anybody is conversant with thrift. :/

nozpheratu avatar Apr 12 '15 19:04 nozpheratu