Challenge to practice codes exercises that consumes a movie API (IMDB) in Kotlin
day 1
:- create project
- consume the top250 movies and print on console
day 2
:- extracting specific fields from movies JSON with String and Collection methods
- unit tests to validate the logic extraction
day 3
:- creating the
Movie
model to get the desired fields
- creating the
day 4
:day 5
:- encapsulating the code of HTTP request and JSON parsing, but was done on previous days π
day 6
:- creating the interface
PageContent
to abstract the page creation. This interface enable reuse the same code to generate new pages with other contents.
- creating the interface
day 7
:- implementation of custom movie sorting by rating
You can check out the code in dev branch.