Studio Ghibli CLI Project

Ernsyka Methelus
2 min readMar 8, 2021

My first CLI project started within a few weeks at Flatiron School Bootcamp. To say, as a first timer programmer, I have thought about given up. I attended many study groups and done research as much as I could. While working full time and personal life, it was challenging but I have learned so much within those few weeks and that helped a lot with the project. Our first project was to build a CLI app, come up with our own idea, and make sure it is fully functionable. Sounds easy, right? not for someone that had no experience, no. But in due time, you do learn.

What I have learned about this program is to be ahead and plan ahead. Taking time to practice is crucial because you would need to bring the best to the table. You are learning and practicing to be a future programmer! and to do that you have got to practice and be committed.

As for the project, it is to build a CLI app using API or a Scrapper. And guess what? I chose to use an API because what is a better way to learn and get data that already existed without draining yourself as a first time programmer. Nothing else!

So, what is an API? API stands for Application Programming Interface(API) and it is an interface between two systems that defines what type of requests it can receive, how they should look, what the response will be and how those responses will look. Many great things are able to retrieved as an API. They will explain the type of request we can make and how to make them. With that, the response will be getting back to us. At times. APIs will serve as the middleman between us and the database created and that will create a flow to access classes and instance variables.

Now, I love Studio Ghibli. It is a film studio headquartered in Koganei, Tokyo. The studio is best known for its animated feature films, and has also produced several short films, television commercials, and one television film. When I saw the API for it, I just had to grab it and use it for my first project. For the project, I’ve used HHTP.get to ask for the data. We are in need to require gems. Gems are a package manager for programing language that provides a standard formant for distributing programs and libraries.

For GEMS to be used in the program or project, an environment file will be needed to be created in the bin file to execute the program. Gems will be downloaded to be used by using gem … . And in the environment file, require or require_relative “…” will be added. I have added colors and have made my app use TTY Prompt. It is crucial to plan ahead, as I stated before. Use your time wisely to get the app working. It was something that was challenging for me but in the end, I have got my app to work and was able to make it function.

--

--