Skip to content

Instantly share code, notes, and snippets.

@numbata
Last active October 17, 2017 07:37
Show Gist options
  • Select an option

  • Save numbata/5ed307d7953c3f7e716f to your computer and use it in GitHub Desktop.

Select an option

Save numbata/5ed307d7953c3f7e716f to your computer and use it in GitHub Desktop.

Суть задания

Предлагается написать клиента для вымышленного сервиса базы-кинофильмов. Сервис предоставляет api, который отдает список фильмов. Формат выдачи такой:

https://gist.github.com/numbata/5ed307d7953c3f7e716f/b7887adc444188d8aa8e61d39b82950f28c03966

Можно грузить json напрямую с гитхаба:

https://gist.githubusercontent.com/numbata/5ed307d7953c3f7e716f/raw/b7887adc444188d8aa8e61d39b82950f28c03966/movies.json

Функционал тестового приложения

  • список фильмов с превью
  • клик/тач по элементу списка фильмов перебрасывает на страницу фильма
  • страница фильма состоит из описания фильма и плеера проигрывающего трейлер фильма

Критерии проверки задания

Задание можно прислать в виде архива или ссылки на github/bitbucket на почту [email protected].

Оцениваться в первую очередь будет чистота кода, его соответствие стандартам и следование стандартным практикам. Внимание будет уделено тому, как происходит работа с git-репозиторием.

Дизайн приложения - вторичен, но ожидается, что в том, как работать с приложением можно будет разобраться.

{
"page": 1,
"results": [
{
"adult": false,
"genres": [
{"name": "Drama"}
],
"id": 244786,
"original_language": "en",
"original_title": "Whiplash",
"overview": "Under the direction of a ruthless instructor, a talented young drummer begins to pursue perfection at any cost, even his humanity.",
"release_date": "2014-10-10",
"poster_path": "https://upload.wikimedia.org/wikipedia/en/0/01/Whiplash_poster.jpg",
"popularity": 8.441533,
"title": "Whiplash",
"video": "http://techslides.com/demos/sample-videos/small.mp4",
"vote_average": 8.5,
"vote_count": 856
},
{
"adult": false,
"genre_ids": [
{"name": "Romance"},
{"name": "Comedy"},
{"name": "Animation"},
{"name": "Drama"},
{"name": "Family"}
],
"id": 293299,
"original_language": "en",
"original_title": "Feast",
"overview": "This Oscar-winning animated short film tells the story of one man's love life is seen through the eyes of his best friend and dog, Winston, and revealed bite by bite through the meals they share.",
"release_date": "2014-11-07",
"poster_path": "https://upload.wikimedia.org/wikipedia/en/d/d6/Feast_%282014_film%29_logo.png",
"popularity": 2.406332,
"title": "Feast",
"video": "http://techslides.com/demos/sample-videos/small.mp4",
"vote_average": 8.5,
"vote_count": 80
},
{
"adult": false,
"genre_ids": [
{"name": "Science Fiction"},
{"name": "Adventure"}
],
"id": 313106,
"original_language": "en",
"original_title": "Doctor Who: The Day of the Doctor",
"overview": "In 2013, something terrible is awakening in London's National Gallery; in 1562, a murderous plot is afoot in Elizabethan England; and somewhere in space an ancient battle reaches its devastating conclusion. All of reality is at stake as the Doctor's own dangerous past comes back to haunt him.",
"release_date": "2013-11-23",
"poster_path": "https://upload.wikimedia.org/wikipedia/en/4/43/Poster_Day-of-the-Doctor.jpg",
"popularity": 2.553939,
"title": "Doctor Who: The Day of the Doctor",
"video": "http://techslides.com/demos/sample-videos/small.mp4",
"vote_average": 8.4,
"vote_count": 55
},
{
"adult": false,
"genre_ids": [
{"name": "Drama"},
{"name": "Science Fiction"}
],
"id": 157336,
"original_language": "en",
"original_title": "Interstellar",
"overview": "Interstellar chronicles the adventures of a group of explorers who make use of a newly discovered wormhole to surpass the limitations on human space travel and conquer the vast distances involved in an interstellar voyage.",
"release_date": "2014-11-05",
"poster_path": "https://upload.wikimedia.org/wikipedia/ru/c/c3/Interstellar_2014.jpg",
"popularity": 16.688744,
"title": "Interstellar",
"video": "http://techslides.com/demos/sample-videos/small.mp4",
"vote_average": 8.4,
"vote_count": 2485
}
],
"total_pages": 1,
"total_results": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment