Skip to content

About

Learning about API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beatriz-open-api

Learning about API

Star Wars Explorer

This project uses the Star Wars API (SWAPI) to display information about planets and characters from the Star Wars universe.

🎬 Demo

Star Wars Explorer Demo

Features

  • 🌌 Dual Data Types - Switch between exploring planets and characters
  • 📊 Displays multiple data points from SWAPI:

Planets (8 data points):

  1. Climate
  2. Terrain
  3. Population
  4. Diameter
  5. Gravity
  6. Orbital Period
  7. Rotation Period
  8. Surface Water Percentage

Characters (7 data points):

  1. Height
  2. Mass
  3. Hair Color
  4. Skin Color
  5. Eye Color
  6. Birth Year
  7. Gender
  • 🎲 Random generators for both planets and characters
  • 🎨 Beautiful Star Wars-themed UI with animated starfield background
  • 📱 Fully responsive design
  • ⚡ Fast and interactive with tab navigation

How to Use

  1. Open index.html in your web browser
  2. Choose between "Planets" or "Characters" tabs
  3. Enter an ID or click "Random" button
  4. Click the explore button to fetch and display the data

API Endpoints Used

  • Planets: https://www.swapi.tech/api/planets/:id
  • People: https://www.swapi.tech/api/people/:id

SWAPI - The Star Wars API

About

Learning about API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages