
The email address is already associated with a Freelancer account. Enter your password below to link accounts:
Username:
Link your Facebook account to a new Freelancer account
Email address:
Valid username
Project Description:
Implement iphone objective c code (the code will be used in my iOS project.) to request the following url and get result,
http://streamerapi.finance.yahoo.com/streamer/1.0?s=MSFT,GOOG&k=l10,c10,p20,g00,h00\&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmcb&gencallback=parent.yfs_gencb
It's a stream url, I tried it on web browser, but cannot return any result. The only way to get result is to run curl on command line by:
curl -s -o - -N 'http://streamerapi.finance.yahoo.com/streamer/1.0?s=MSFT,GOOG&k=l10,c10,p20,g00,h00\&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmcb&gencallback=parent.yfs_gencb'
This command will return real-time stock information and keep streaming new result.
Now we need to make it work in iphone app also. More specifically, write a objective c code to request the url and listen to the stream, output result when new information is pushed. No need for UI, just the original functions.
Additional Project Description:
02/04/2013 at 0:38 EST
the url should be, the previous one is not correct
http://streamerapi.finance.yahoo.com/streamer/1.0?s=MSFT,GOOG&k=l10,c10,p20,g00,h00&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmcb&gencallback=parent.yfs_gencb
Freelancer.com (formerly GetAFreelancer, Scriptlance and vWorker/Rentacoder) is the world's largest freelancing, outsourcing and crowdsourcing marketplace for small business. Hire freelancers to work in software, writing, data entry and design right through to engineering and the sciences, sales and marketing, and accounting & legal services.
Find freelance jobs and make money online! We have freelance coders, writers, programmers, designers, marketers and more. Getting the best web design, custom programming, professional writing or affordable marketing has never been easier!
© Copyright 2013 Freelancer Technology Pty Limited (ACN 142 189 759)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)