Poker Mavens API wrapper for Node.js

For general discussion of the Poker Mavens software

Poker Mavens API wrapper for Node.js

Postby harrythree » Tue Jun 28, 2016 9:45 pm

Hello all! I just published an NPM module that for the Poker Mavens API. The module is a lightweight promise based wrapper of the PM API.

https://www.npmjs.com/package/pokermavens

Feel free to download it and use it. If you find any bugs, it is open source, so pull requests are welcomed!

I've been using the module to build a Node.js REST API that adds oAuth 2 on top of the current PM API. This has allowed me to build a mobile app for Poker Mavens without needing to have the API password baked into the mobile app code. Instead it will exchange oAuth access tokens be able to use different endpoints. Having the Node.js server in the middle also allowed to have more access control of the PM API (eg Users can NOT access endpoints that Admins would be able to access).

I'll be open sourcing more modules in the future so keep a look out!

And hopefully soon after that I'll actually finish the various mobile apps I've been working on.

Cheers!

Harry
harrythree
 
Posts: 27
Joined: Sun Mar 01, 2015 4:20 pm

Re: Poker Mavens API wrapper for Node.js

Postby Kent Briggs » Tue Jun 28, 2016 10:55 pm

Very nice! :D
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3764
Joined: Wed Mar 19, 2008 8:47 pm

Re: Poker Mavens API wrapper for Node.js

Postby social » Fri Jul 01, 2016 7:40 pm

harrythree wrote:Hello all! I just published an NPM module that for the Poker Mavens API. The module is a lightweight promise based wrapper of the PM API.

https://www.npmjs.com/package/pokermavens

Feel free to download it and use it. If you find any bugs, it is open source, so pull requests are welcomed!

I've been using the module to build a Node.js REST API that adds oAuth 2 on top of the current PM API. This has allowed me to build a mobile app for Poker Mavens without needing to have the API password baked into the mobile app code. Instead it will exchange oAuth access tokens be able to use different endpoints. Having the Node.js server in the middle also allowed to have more access control of the PM API (eg Users can NOT access endpoints that Admins would be able to access).

I'll be open sourcing more modules in the future so keep a look out!

And hopefully soon after that I'll actually finish the various mobile apps I've been working on.

Cheers!

Harry

Thank you for your contribution!
Much appreciate the goals of your site.
social
 
Posts: 194
Joined: Fri Nov 20, 2009 12:23 am


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests