mod_arthur - Easy OAuth and Data for 100+ providers.

Hello,

I’ve had this project sitting on my desktop since late August and decided to get it in minimal shape for usage, as it’s a pretty neat module.

Basically this module allows you to interface with OAuth.io, which is a service that ties together APIs from 100+ providers and proxies the API methods, allowing one to have a standardized way of accessing provider data.

The module currently only handles about 80% of the OAuth.io API. At one point I was considering making a plugin, but instead have decided to open source the module and documentation so that others can improve upon either or both categories. I don’t plan on putting too much additional effort into the code at this time.

It does work though. The module will handle the complete lifecycle of the OAuth token collection, including popping the webView for authorization. And retrieving data is a breeze thanks to the OAuth.io proxy format.

I demoed this on Corona After Dark showing multiple API sources being pulled together. It’s completely possible to mix different API sources to make something interesting.

There is a bit of a learning curve, not so much with the module, but you have to sign-up, set-up, and work through each service providers docs to learn which endpoints are exposed, and what HTTP method they require.

I’ll be happy to answer any questions about the code or usage. There is a free developers tier at OAuth.io, as well as a standalone open-source version of the same engine for servers.

Read the Docshttp://mod-arthur.readthedocs.org/

The docs explain setup, usage, and the API. The source links are below. There is a simple demo project in the module download.

Module Source: https://github.com/develephant/mod_arthur

Docs Source: https://github.com/coronium-io/coronasdk-arthur-docs

Enjoy.

Hi develephant

very nice!  

Thank you for all your amazing contributions to this community.

I appreciate the acknowledgment. Thank you.

Happy coding.

Cheers.

Hi develephant, awsome module! thanks a lot for it. I gave it a look and i’ll play with it when I get home.

I know the question is too vague, but from your personal experience, what do you think about OAuth.io pricing? Are 555 API requests per hour for $99 enough ($99 per month for 400.000)?

I guess is too little for an application that relies purely on these API requests but it should be enough for an application that lets you, for example, post your score to different providers.

What do you think it should be the best way to use it correctly in your application without “letting” the user to make a billion of API requests?

Thanks again!

Hi,

I don’t have a lot of experience with the real-world statistics, but I’m sure it is priced competitively. You can also “host” a version of the oAuth.io software yourself and not pay any extra fees other than hosting, which could be 20 bucks or less a month depending on your traffic.

I was about 80% done building a front-end service for this module, but decided that wasn’t where I wanted to focus my efforts. I will put up a post on my blog soon on how to set up your own oAuth.io instance on DO, including an installation script.

Good luck.

Hi develephant

very nice!  

Thank you for all your amazing contributions to this community.

I appreciate the acknowledgment. Thank you.

Happy coding.

Cheers.

Hi develephant, awsome module! thanks a lot for it. I gave it a look and i’ll play with it when I get home.

I know the question is too vague, but from your personal experience, what do you think about OAuth.io pricing? Are 555 API requests per hour for $99 enough ($99 per month for 400.000)?

I guess is too little for an application that relies purely on these API requests but it should be enough for an application that lets you, for example, post your score to different providers.

What do you think it should be the best way to use it correctly in your application without “letting” the user to make a billion of API requests?

Thanks again!

Hi,

I don’t have a lot of experience with the real-world statistics, but I’m sure it is priced competitively. You can also “host” a version of the oAuth.io software yourself and not pay any extra fees other than hosting, which could be 20 bucks or less a month depending on your traffic.

I was about 80% done building a front-end service for this module, but decided that wasn’t where I wanted to focus my efforts. I will put up a post on my blog soon on how to set up your own oAuth.io instance on DO, including an installation script.

Good luck.