Dev - Twitter Notification Connection

Is there a development Category? I couldn’t really find one. (should I join irc or mailing list or something?)

I’m trying to make a twitter notification connection. I’ve implemented something where you enter all 4 fields for auth (Consumer key, Consumer secret, Account Key, Account secret) but its tricky unless you have it elsewhere.

I’m wanting to implement a button somewhere to add notifications. I’m not too worried about the code, just cleanness. I’m having trouble figuring out the cleanest way to add content to the /api/notifications blocks. I’ve currently hacked a new FieldType in call action but that seems hacky.

Also, is there a current way to add a nancy/api module to NotificationBase/NotificationModule but I can’t really figure out how to extend it for a certain notification class. I’m slightly new to C# development. My goal is to just add 2 more endpoints to do the oauth handling. I’ve been able to do this with just a normal nancy module but I’d like to make it neater. I know this would make upgrading pushbullet and other modules easier too.

I’m not even sure I’m asking the right questions.

We have the same issue with getting device IDs for Push Bullet and haven’t really determined how we want to do it.

The original goal with the generic way notifications were done was to avoid customizing each implementation and to some extent make them plugin-like.

Perhaps a notification/actions module would work and then the we contain any actions in there, alternatively it could be specific to the implementation and be notification/twitter and each module could be self contained (which I like a bit better).

The notification module is based on a Nancy module, but inherits from another class that adds some API/model logic. At a minimum we’d want to inherit from NzbDroneApiModule (I think that’s the name) so it falls under the API umbrella.

If you already have code in place a PT could be helpful so we can give early feedback and offer some suggestions (we’ll likely have a number of comments to it, most first PRs do).

IRC is great to connect to the devs quickly (usually), but not sure how much we’re around this weekend.