REST API for beginners – Retrofit and Android
Have you ever wondered how to GET that server-located content in your app? Do you want to learn how to retrieve and visualize JSON data? Would you want to learn how to work with the Retrofit library in Android? Then this course is for you! Here we will start with a short introduction to the basic terminology – you will get aware of what HTTP, URL, API, RETROFIT, JSON, GET/POST/PUT and DELETE are. All of the explanations I will give you are easy to understand and follow. Then we will build 2 projects from scratch, working with 2 different APIs – the GitHub API and the StackOverflow API, as we are GETting their content. At the end of each section you will know how to continue exploring the API on your own and modify the data for your needs. Then we’ll go further – I’ll show you tens and hundreds more APis you will be able freely to work with. We’ll pass through 3 different authorization processes – with the Instagram API, with the Gmail API and the Wordnik API. After you finish the course, you’ll be able to handle numerous sources, hundreds of APIs and approaches. Are you ready to start?
What is an HTTP call? What is the difference between the different GET/POST/PUT/DELETE methods? What is an URL?
What is Retrofit? What is an API? What is JSON?
Retrofit and GitHub - build an app with the GitHub API
How to approach a new API? How to check an API"s documentation? How to read the GitHub API? How to view our JSON data?
Build the EditText filed and button up to the mock model.
How to build the usual part of the User screen? How to decide what widgets to add? How to take the user's login credentials from the first screen?
How to visualize the data we retrieve from the API? How to build the RecyclerView components?
How to define the end point for the repositories resource? How to call resources, within a predefined structure?
How to handle the data returned form the server? How to load the data correctly within the recycler View?
Retrofit and StackOverflow - build an app with the StackOverflow API
How to load the information into each of the placeholders? How to output the result in the console?