go-challenge/README.md

77 lines
1.4 KiB
Markdown
Raw Normal View History

2018-10-11 18:08:05 -05:00
## Challenge1 - Work with APIs and Libraries
2018-10-22 18:26:16 -05:00
Use [Star Wars API](https://www.swapi.co)
- API Request - Pull all data about Starships from SWAPI
- If Loops - List all ships that have named pilots
- Loops - List all pilots of those ships
- Print - Output must be human-readable
2018-10-04 10:45:14 -05:00
---
### Usage
- Clone this repo to your local computer using `git clone https://github.com/Code-Club-Crew/challenge1.git`.
- Create a new branch using `git checkout -b <NEW-BRANCH>`.
- Add your own subfolder to the repo.
- Add your files to the subfolder.
---
### Language
User choice
Recommend Go or Python
---
### Additional Resources
https://swapi.co/documentation
Check your language of choice for a supporting library.
---
### Example Output
```
Millennium Falcon
Chewbacca
Han Solo
Lando Calrissian
Nien Nunb
X-wing
Luke Skywalker
Biggs Darklighter
Wedge Antilles
Jek Tono Porkins
TIE Advanced x1
Darth Vader
Slave 1
Boba Fett
Imperial shuttle
Luke Skywalker
Chewbacca
Han Solo
A-wing
Arvel Crynyd
Naboo fighter
Anakin Skywalker
Gregar Typho
Padmé Amidala
Naboo Royal Starship
Ric Olié
Scimitar
Darth Maul
Jedi starfighter
Obi-Wan Kenobi
Plo Koon
H-type Nubian yacht
Padmé Amidala
Trade Federation cruiser
Obi-Wan Kenobi
Anakin Skywalker
T-70 X-wing fighter
Poe Dameron
Naboo star skiff
Obi-Wan Kenobi
Padmé Amidala
Jedi Interceptor
Obi-Wan Kenobi
Anakin Skywalker
Belbullab-22 starfighter
Obi-Wan Kenobi
Grievous```