Star Wars API Reader

Read data from the Star Wars API (SWAPI) --
148 Downloads
Updated 6 Dec 2019

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

The Star Wars API (SWAPI) provides open data to explore and analyze the universe: --
You can read this data into MATLAB with the function swapiread. The function imports the data by record or by collection and converts the data to a MATLAB-friendly format for analysis.

Cite As

Heather Gorr, PhD (2024). Star Wars API Reader (https://www.mathworks.com/matlabcentral/fileexchange/65423-star-wars-api-reader), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.3

Updated graph example

1.0.0.2

Updated graph example to Live Script

1.0.0.1

Added graph example, helper function, and tests

1.0.0.0

Updated example to show another character's height.