JBelta / ghibili

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ghibili

A repo for Turing students to practice API consumption and refactoring.

Challenges

Each of these challenges requires you to consume the Studio Ghibili API

Challenge 1

Write code to print out the names of all Studio Ghibili films.

extension 1: Refactor your code to define 3 different Ruby classes and make use of those classes.

extension 2: Refactor your code so that no method body is longer than 5 lines of code.

Challenge 2

Write code to print out the names of all People from Studio Ghibili films.

extension: In addition to printing the name for each person, print out the name of each film they appear in.

There are multiple ways to approach the extension. Here are some tips:

  • Don't be afraid to make multiple API calls.
  • Read the API documentation. Try to make the API do as much work for you as possible.

About


Languages

Language:Ruby 100.0%