Doing something wiith fxbook API - anybody know how?
| 订阅此主题 |
|
从……加入成为会员 Aug 01, 2009 941个发言
Elkart (Elkart)
Nov 07 2010 at 12:35
(最后编辑时间Nov 07 2010 at 12:41 )
The idea was to get the xml feed for my statement, so I can plonk it in a box.
I have a rss feeder in http://www.rssinclude.com now they would want this from the API: https://www.myfxbook.com/api/get-open-trades.xml?sessiDSL07vu14QxHWErTIAFrH40&id=12345 But it won't work as I have login first like so: https://www.myfxbook.com/api/login.xml?email=elvis@yahoo.com&password=letsboogie Chang beer is evil. |
|
从……加入成为会员 Aug 01, 2009 941个发言
Elkart (Elkart)
Nov 07 2010 at 14:01
Let me rephrase that slightly,
I presume I can do this in a html editor? If I can't I'm out of my league... Chang beer is evil. |
|
从……加入成为会员 Mar 07, 2010 56个发言
aj90151
Nov 07 2010 at 16:04
Elkart - you'll need some kind of ajax script (you can use some framework like jquery or protoytpe) invoke the API url and then parse the JSON.
Take a look here : http://viralpatel.net/blogs/2009/04/jquery-ajax-tutorial-example-ajax-jquery-development.html ... |
|
从……加入成为会员 Mar 07, 2010 56个发言
aj90151
Nov 07 2010 at 16:05
p.s - yes it can be done in html editor
... |
|
从……加入成为会员 Aug 01, 2009 941个发言
Elkart (Elkart)
Nov 07 2010 at 17:49
K - thanks man.
I don't think I'll delve into it. Thought I'd amuse myself for a while by trying to do something constructive, but it looks like a whole 'thing'. Chang beer is evil. |
|
从……加入成为会员 Dec 09, 2010 217个发言
edward (dodgesparks)
Jan 08 2011 at 17:46
i would probably complicate things unnecessarily, as usual.
first, it looks like they want for you to request a sessionid. so, call up this page in your browser: http://www.myfxbook.com/api/login.xml?email=dodgesparks@yahoo.com&password=MYPASSWORD upon calling up that webpage, you will receive back the following: <?xml versi'1.0' encoding='UTF-8' ?> - <response error='false' message=''> <session>zB3cupCbawTJVlSPA11024680</session> </response> extract the sessionid from that mess and then call up your history, and then using that sessionid, callup this page: http://www.myfxbook.com/api/get-history.xml?sessizB3cupCbawTJVlSPA11024680&id=123456 |
|
请登入账户再评论。
|
|

Share