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

Gnani Pasupula
Gnani Pasupula
3,915 Points

How to make our own API ?

We use API for our apps but we can't get all kinds of API ,so how do we make them . In which software we can make them.

Check https://cloud.google.com/appengine/docs/java/endpoints/getstarted/backend/hello_world. It shows how to create a Simple Hello World Backend API. Hope this helps.

1 Answer

Sue Dough
Sue Dough
35,800 Points

Any programming language can do it. Almost every programming language has a way to encode/decode json. You don't need special software. Its quite simple actually. You can have a simple API in less than 10 minutes. You simply just encode your data into json and then you can just put that code in its own template. Then simply send a GET request to get the json.

The hard parts are figuring out your endpoints, putting the right data points in the endpoint, rate limiting, API keys, security, and database schema.

I created a decent sized API recently and it took 9 days for me to finish doing all what I mentioned above. However getting a working prototype of a Get request took less than 10 minutes.