Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Oscar Tamez
425 PointsiOS fetching data from a data base
Hey, I have a question that I have been trying to solve.But I can't solve it alright what I want to do is I am is fetch data from a district grades website(home Access Center Cfisd) I want to use this in both iOS & Android if some one can please help me solve this.
2 Answers
Oscar Tamez
425 PointsNo, the website does't have an (API).But how would I make one I would like to display the grades in a (UITableView)
Alex Hedley
16,381 PointsUnless this is your own website where you can make the API yourself you will have to screen scrap.
It's an old tutorial but still should be useful
http://www.raywenderlich.com/14172/how-to-parse-html-on-ios
You could also use YQL to get the data:
Oscar Tamez
425 PointsNo,the website is not my's is the schools distric. I just want to parse the grades into a UITableView cell.But I think that parsing the HTML would work I'm gonna try that. Thanks for all your help and time!
Alex Hedley
16,381 PointsiOS 8 By Tutorials from Ray Wenderlich might also be useful http://www.raywenderlich.com/store/ios-8-by-tutorials
Chapter 25 - Intermediate WebKit
It grabs a list of Authors from the Website and displays it in a TableView
Alex Hedley
16,381 PointsAlex Hedley
16,381 PointsDoes this website have an API? Can you request the data in a particular format i.e. XML or JSON?
Have you taken any of the iOS or Android courses?