News for hackers. Stuff that matters.

Ask HN: Best approach for adding an API to an existing rails app

Hey, built this prototype game http://www.vvx.io/ - think it could be fun to allow API access so people could create bots that trade on the exchange. (e.g. scrape reddit for youtube videos, seed and buy/sell them onto the exchange.)

VVX.IO was my first full end-to-end just-me programming experiment. I was up until this a front-end and product guy (don't even code in my day job - the game is a part time labour of love) - so approaches to an API are new to me - there seem to be a lot of options and guidelines out there for offering APIs - from 3rd party services (mashape) to best-practice on auth etc. - what would you guys recommend as a good place to start?

Thanks a lot!

( 4 comments | 6 points | on HN )
Re:Ask HN: Best approach for adding an API to an existing ra... by masonhensley on Thursday August 02, 2012 @01:06PM (#4329744)
Re:Ask HN: Best approach for adding an API to an existing ra... by davejazz on Thursday August 02, 2012 @05:50PM (#4331218)
Cool. Thanks man.
Re:Ask HN: Best approach for adding an API to an existing ra... by benkant on Friday August 03, 2012 @10:40AM (#4334215)
Make sure you give RocketPants a look:

https://github.com/filtersquad/rocket_pants

Re:Ask HN: Best approach for adding an API to an existing ra... by maxstoller on Friday August 03, 2012 @12:39AM (#4332570)