Skip to content

perylemke/swcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Wars CLI (swcli)

This CLI give the possibility to do a queries in Star Wars API and returns a JSON in a terminal.

Install

$ pip install swcli

Queries Objects

  • films
  • people
  • planets
  • species
  • starships
  • vehicles

Ever object you can search by the name. Like below:

$ swcli people --name=Luke
Name: Luke Skywalker
Height: 1.72
Mass: 77
Hair color: blond
Skin color: fair
Eye color: blue
Birth year: 19BBY
Gender: male
Homeworld: Tatooine
Films: ['A New Hope', 'The Empire Strikes Back', 'Return of the Jedi', 'Revenge of the Sith']
Species: []
Vehicles: ['Snowspeeder', 'Imperial Speeder Bike']
Starships: ['X-wing', 'Imperial shuttle']

Tools and Libs

  • Python 3.8
  • Poetry
  • Fire
  • httpx
  • PyTest

Improvements

  • Refactoring
  • Implement tests
  • Improve performance
  • Implement CI/CD.

About

A simple CLI to consult Star Wars infos in StarWars API (https://swapi.dev/api/).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages