|
|||||||
| Ruby A place to discuss and trade ideas relating to the dynamic, open source programming language Ruby with a focus on simplicity and productivity. |
| Post Reply |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Put together a proof of concept Rails App that acts as RESTful JSON middleware app for the SOAP API.
Very much proof of concept, to highlight my Ruby Betfair Gem. You can check out both here: https://github.com/lukebyrne/betfair https://github.com/lukebyrne/betfair-json-api The gem also has a working bot in it that will lay odds on horses. |
|
#2
|
|||
|
|||
|
Quote:
Although RESTful json API is great, it will increase API call delays. Can you please suggest what are the reasons to have such a proxy? SOAP is shit, but not that shit to avoid it adding the additional complexity level. |
|
#3
|
|||
|
|||
|
Quote:
I am aware that it will increase API call delays. A practical use may be if you were writing a mobile app for BF and needed a web app to act in the middle. I imagine as hard as SOAP is with traditional computing environments, it must be an absolute nightmare on native IOS and Android to create libraries to interact with BF. |
|
#4
|
|||
|
|||
|
Quote:
Cocoa has good collections (arrays, dictionaries), have several robust XML parsers (DOM, SAX) and XML serializers. It also have quite good HTTP (asynchronous and easy to use NSURLConnection). It has everything to make SOAP without much worries. IOS also allows use C/C++ without limitations so if one hates Objective-C he can use C/C++. Betfair anyway does not allow applications working through proxies, so it will block the app in AppStore. |
|
#5
|
|||
|
|||
|
Quote:
The same problem is with desktop apps, but first there is the "certification" process for such applications and second is the app works on a local computer and I can check which sites the app connects to. Last edited by AlgoTrader; 04-05-2012 at 07:19 AM |
| Post Reply |
| Thread Tools | |
| Display Modes | |
|
|