QR Code for API Key

Want something added? Ask for it here.

QR Code for API Key

Postby faint545 » December 31st, 2011, 1:07 pm

I think having not only your api key displayed but a QR code version of it displayed (or a link to a website that can generate it automatically) would be nice for mobile purposes. I'm currently in a test phase of a native Android application that monitors SABNzbd and it utilizes a QR scanner to input the very long api key. It'd be nice if SABNzbd could produce this QR code automatically or create a link that sends out the api key to a website that generates qr codes (and it would be nice for whomever uses my application). This could also be beneficial to other SABNzbd mobile applications since they could also implement a QR scanner and prevent their users from having to type them in manually.

However, having a user enter in an API key doesn't seem to happen very often so I don't really expect this feature request to gain much traction with the developers but I'd though I would give it a shot ;)
faint545
Newbie
Newbie
 
Posts: 38
Joined: June 4th, 2011, 12:36 pm

Re: QR Code for API Key

Postby shypike » December 31st, 2011, 1:34 pm

Given the amount of effort this would cost to implement, I think you can guess the answer.
User avatar
shypike
Administrator
Administrator
 
Posts: 16581
Joined: January 18th, 2008, 1:49 pm

Re: QR Code for API Key

Postby faint545 » December 31st, 2011, 1:47 pm

Well, SABNzbd doesnt have to encode the api key itself and generate an image. Couldn't an external source do this? For example: http://qrcode.kaywa.com/code/thisisatest
Just replace "thisisatest" with the SABNzbd api key and you've got the api key in a QR code form. Here is some more info on it. http://api.qrcode.kaywa.com/services/qr
faint545
Newbie
Newbie
 
Posts: 38
Joined: June 4th, 2011, 12:36 pm

Re: QR Code for API Key

Postby inpheaux » January 1st, 2012, 5:11 pm

faint545 wrote:Well, SABNzbd doesnt have to encode the api key itself and generate an image. Couldn't an external source do this? For example: http://qrcode.kaywa.com/code/thisisatest
Just replace "thisisatest" with the SABNzbd api key and you've got the api key in a QR code form. Here is some more info on it. http://api.qrcode.kaywa.com/services/qr

I mentioned it in the other thread, and would be happy to patch it in myself.

I'd just have it spawn a JQuery UI modal with an embedded Google Charts API image ( http://code.google.com/apis/chart/infog ... codes.html ). Should be pretty easy to do.
User avatar
inpheaux
Administrator
Administrator
 
Posts: 694
Joined: January 16th, 2008, 10:14 pm

Re: QR Code for API Key

Postby faint545 » January 1st, 2012, 5:15 pm

Awesome! ;D
inpheaux wrote:
faint545 wrote:Well, SABNzbd doesnt have to encode the api key itself and generate an image. Couldn't an external source do this? For example: http://qrcode.kaywa.com/code/thisisatest
Just replace "thisisatest" with the SABNzbd api key and you've got the api key in a QR code form. Here is some more info on it. http://api.qrcode.kaywa.com/services/qr

I mentioned it in the other thread, and would be happy to patch it in myself.

I'd just have it spawn a JQuery UI modal with an embedded Google Charts API image ( http://code.google.com/apis/chart/infog ... codes.html ). Should be pretty easy to do.
faint545
Newbie
Newbie
 
Posts: 38
Joined: June 4th, 2011, 12:36 pm

Re: QR Code for API Key

Postby inpheaux » January 1st, 2012, 6:27 pm

Got it implemented, it'll be available on our dev branch soon. (For Plush, at least)
User avatar
inpheaux
Administrator
Administrator
 
Posts: 694
Joined: January 16th, 2008, 10:14 pm

Re: QR Code for API Key

Postby inpheaux » January 1st, 2012, 11:32 pm

User avatar
inpheaux
Administrator
Administrator
 
Posts: 694
Joined: January 16th, 2008, 10:14 pm

Re: QR Code for API Key

Postby faint545 » January 2nd, 2012, 5:56 pm

Ah, it looks great! I just used it to test my app. Great job ;D
faint545
Newbie
Newbie
 
Posts: 38
Joined: June 4th, 2011, 12:36 pm

Re: QR Code for API Key

Postby Marcoevich » May 28th, 2012, 7:54 am

Is this feature already available in the 0.7.X beta versions of SABNzbd? It could be that I missed it, but I can't find it in the changelogs anywhere..
Marcoevich
Jr. Member
Jr. Member
 
Posts: 51
Joined: January 1st, 2012, 3:35 pm

Re: QR Code for API Key

Postby shypike » May 28th, 2012, 9:32 am

Take a look at the actual program :)
It's there in Config->General (except in the original smpl and Classic skins).
User avatar
shypike
Administrator
Administrator
 
Posts: 16581
Joined: January 18th, 2008, 1:49 pm

Re: QR Code for API Key

Postby Marcoevich » May 28th, 2012, 6:02 pm

Ok Thx, will do that ;)
Marcoevich
Jr. Member
Jr. Member
 
Posts: 51
Joined: January 1st, 2012, 3:35 pm


Return to Feature Requests