This is a test project to see how to interact with the yu-gi-oh! card api and what can be done with the resulting data.
According to Wikipedia:
A spike is a product development method originating from extreme programming that uses the simplest possible program to explore potential solutions. It is used to determine how much work will be required to solve or work around a software issue. Typically, a "spike test" involves gathering additional information or testing for easily reproduced edge cases. The term is used in agile software development approaches like Scrum or Extreme Programming.
In these spikes no use is made of TDD. In fact, the code is largely untested.
The code isn't necessarily clean.
It is merely a tool to understand the subject, so that the actual production code can more easily be tested and made clean.
An added benefit to spikes is that they don't contain anything worth stealing, therefore they're perfect to build a portfolio with.
For this project the yugioh card api at https://ygoprodeck.com has been used.
The rules and documentation for this api can be found at: https://db.ygoprodeck.com/api-guide/
I do not own, nor am I affiliated with this database or its owners.
To run this project you don't have to do anything special.
From Goland go to the main.go
and use the hotkey ctrl + shift + f10
.
Or if you don't use a fancy IDE just run it like you would run any other Go script.