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

Android

What to learn to make API integrated apps

So here it goes. I have a website which is a classified ad website using the CMS called Osclass. So osclass unlike Wordpress they don't provide a JSON Api or anything like that. So I thought I might have to create one like that so I can start integrating it in my Android app. What do I exactly need to learn to be able to do such thing. There is something called RESET API that I have to create for the website? So what do I need to learn exactly EXCLUDING Java for android.. I wasn't sure which forum to post this on, but thought Android would be a perfect fit since there might be some people who created apps like that.

Do I need to learn PHP to start doing an API for my website or what exactly? I am sorry if this is a bit confusing to understand what I have written.

Help me understand your goal here.

You want to create an android application that extracts a fact from your website everyday correct?

I can tell you about parsing a JSON website from an android app. Not about making new APIs for your website.

Although I think an elegant solution could be making an android app that just displays your website in a webview.

Maybe a web application could be a great solution.

Another idea is getting your site to feed the facts into a backend database like the one on parse.com. Then integrating your android app with parse.com's APIs. that would be elegant and there are lessons on Treehouse that can show you how to do it too!

You kind of understood me wrong. The site is not a Fact themed. Osclass is a classified ads CMS.. Using webview would be just disgusting in my opinion and I would hate and call it an app I have created, because webview apps are just bad and don't function correctly. Let's say there are categories and inside those categories there are sub categories. For me to be able to fetch those categories and their sub categories and the posts that are listed under them I need a JSON request am I wrong? If that was in wordpress that would be easy, because there is a plug in called JSON API where for example you'd go to www.example.com/?json=count to fetch the posts, author, title and everything, BUT that is not possible for Osclass since there is no such plug in. So what I want to do is do exactly what that plug in does.. I don't want to create a plug in I want to do it for my site it self as in me coding it for me to be able to create JSON.

Hope you understood now.

Yes I understand now sorry for the confusion. Maybe this persons idea can help you in some way while the JSON API is developed.

http://stackoverflow.com/questions/26725801/how-to-fetch-info-from-osclass-to-android-app

haha that's my post :P

There seems to be a small community here building what you need maybe you can join in.

http://forums.osclass.org/development/a-rest-api-server-for-osclass/

Thank you for all your help!