共用方式為


Star Wars (Independent Publisher) (Preview)

The Star Wars API, is the world's first quantified and programmatically-accessible data source for all the data from the Star Wars canon universe! We've taken all the rich contextual stuff from the universe and formatted into something easier to consume with software.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Paul Culmsee
URL https://www.sevensigma.com.au
Email paul.culmsee@sevensigma.com.au
Connector Metadata
Publisher Paul Culmsee
Website https://swapi.dev/
Privacy Policy https://swapi.dev/about
Categories Lifestyle and Entertainment

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get all films

A Film resource is a single film

Get All Species

A Species resource is a type of person or character within the Star Wars Universe

Get all starships

A Starship resource is a single transport craft that has hyperdrive capability.

Get Film by ID

Get a specific film by id.

Get People

A People resource is an individual person or character within the Star Wars universe

Get Person By Id

A People resource is an individual person or character within the Star Wars universe

Get Planet By Id

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

Get Planets

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

Get Species By Id

A Species resource is a type of person or character within the Star Wars Universe

Get StarShip By Id

A Starship resource is a single transport craft that has hyperdrive capability

Get all films

A Film resource is a single film

Parameters

Name Key Required Type Description
Search string
search string

Search films by name

Page number
page integer

Page number

Returns

Name Path Type Description
Count
count integer

Number of records

next string

URL to next set of records

previous string

URL to previous set of records

results
results array of film

results

Get All Species

A Species resource is a type of person or character within the Star Wars Universe

Parameters

Name Key Required Type Description
Search string
search string

Search species by name

Page number
page integer

Page number

Returns

Name Path Type Description
Species Count
count integer

Total number of Species

next
next string

URL to next set of records

previous
previous string

URL to previous set of records

results
results array of species

results

Get all starships

A Starship resource is a single transport craft that has hyperdrive capability.

Parameters

Name Key Required Type Description
Search string
search string

Search sharships by name

Page number
page integer

Page number

Returns

Get Film by ID

Get a specific film by id.

Parameters

Name Key Required Type Description
Film Id
id True string

Id of the film.

Returns

Body
film

Get People

A People resource is an individual person or character within the Star Wars universe

Parameters

Name Key Required Type Description
Search string
search string

Search people by name

Page number
page integer

Page number

Returns

Body
person

Get Person By Id

A People resource is an individual person or character within the Star Wars universe

Parameters

Name Key Required Type Description
Person Id
id True string

Id of the person.

Returns

Body
person

Get Planet By Id

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

Parameters

Name Key Required Type Description
Planet Id
id True string

Id of the planet.

Returns

Body
planet

Get Planets

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

Parameters

Name Key Required Type Description
Search string
search string

Search planets by name

Page number
page integer

Page number

Returns

Name Path Type Description
count
count integer

count

next
next string

next

previous
previous string

previous

results
results array of planet

results

Get Species By Id

A Species resource is a type of person or character within the Star Wars Universe

Parameters

Name Key Required Type Description
Species Id
id True string

Id of Species

Returns

Body
species

Get StarShip By Id

A Starship resource is a single transport craft that has hyperdrive capability

Parameters

Name Key Required Type Description
Starship Id
id True string

Id of Starship

Returns

Body
starship

Definitions

starship

Name Path Type Description
Max Megalights per hour
MGLT string

The Maximum number of Megalights this starship can travel in a standard hour. A "Megalight" is a standard unit of distance and has never been defined before within the Star Wars universe. This figure is only really useful for measuring the difference in speed of starships. We can assume it is similar to AU, the distance between our Sun (Sol) and Earth

Cargo Capacity
cargo_capacity string

The maximum number of kilograms that this starship can transport

Max Consumables
consumables string

The maximum length of time that this starship can provide consumables for its entire crew without having to resupply

Cost in Credits
cost_in_credits string

The cost of this starship new, in galactic credits

Created Date
created string

the ISO 8601 date format of the time that this resource was created

Crew
crew string

The number of personnel needed to run or pilot this starship

Edited Date
edited string

the ISO 8601 date format of the time that this resource was edited

Hyperdrive Rating
hyperdrive_rating string

The class of this starships hyperdrive

Length
length string

The length of this starship in meters

Manufacturer
manufacturer string

The manufacturer of this starship. Comma separated if more than one

Max Atmosphering Speed
max_atmosphering_speed string

The maximum speed of this starship in the atmosphere. "N/A" if this starship is incapable of atmospheric flight

Model
model string

The model or official name of this starship. Such as "T-65 X-wing" or "DS-1 Orbital Battle Station"

Name
name string

The name of this starship. The common name, such as "Death Star".

Number of Passengers
passengers string

The number of non-essential people this starship can transport

films
films array of string

films

pilots
pilots array of string

pilots

Starship Class
starship_class string

The class of this starship, such as "Starfighter" or "Deep Space Mobile Battlestation"

Url
url string

The hypermedia URL of this resource

film

Name Path Type Description
Title
title string

The title of this film

Episode Id
episode_id integer

The episode number of this film

Opening Crawl
opening_crawl string

The opening paragraphs at the beginning of this film

Director
director string

The name of the director of this film

Producer
producer string

The name(s) of the producer(s) of this film. Comma separated

Release Date
release_date string

The ISO 8601 date format of film release at original creator country.

Characters
characters array of string

An array of people resource URLs that are in this film

Planets
planets array of string

An array of planet resource URLs that are in this film

Starships
starships array of string

An array of starship resource URLs that are in this film

Vehicles
vehicles array of string

An array of vehicle resource URLs that are in this film

Species
species array of string

An array of species resource URLs that are in this film

Created Date
created string

the ISO 8601 date format of the time that this resource was created

Edited Date
edited string

the ISO 8601 date format of the time that this resource was edited

Url
url string

the hypermedia URL of this resource

species

Name Path Type Description
Name
name string

The name of this species

Classificiation
classification string

The classification of this species, such as "mammal" or "reptile"

Designation
designation string

The designation of this species, such as "sentient"

Average Height
average_height string

The average height of this species in centimeters

Skin Colors
skin_colors string

A comma-separated string of common skin colors for this species, "none" if this species does not typically have skin

Hair Colors
hair_colors string

hair_colors

Eye Colors
eye_colors string

A comma-separated string of common eye colors for this species, "none" if this species does not typically have eyes

Average Lifespan
average_lifespan string

The average lifespan of this species in years

Home World
homeworld string

The URL of a planet resource, a planet that this species originates from.

Language
language string

The language commonly spoken by this species

people
people array of string

people

films
films array of string

films

Created Date
created string

the ISO 8601 date format of the time that this resource was created

Edited Date
edited string

the ISO 8601 date format of the time that this resource was edited

Url
url string

the hypermedia URL of this resource

planet

Name Path Type Description
Name
name string

The name of this planet

Rotation Period
rotation_period string

The number of standard hours it takes for this planet to complete a single rotation on its axis

orbital_period
orbital_period string

orbital_period

Diameter
diameter string

The diameter of this planet in kilometers

Climate
climate string

The climate of this planet. Comma separated if diverse

Gravity
gravity string

A number denoting the gravity of this planet, where "1" is normal or 1 standard G. "2" is twice or 2 standard Gs. "0.5" is half or 0.5 standard Gs

Terrain
terrain string

The terrain of this planet. Comma separated if diverse

Surface Water
surface_water string

The percentage of the planet surface that is naturally occurring water or bodies of water

Population
population string

The average population of sentient beings inhabiting this planet

Residents
residents array of string

An array of People URL Resources that live on this planet.

Films
films array of string

An array of Film URL Resources that this planet has appeared in

Created Date
created string

The ISO 8601 date format of the time that this resource was created

Edited Date
edited string

The ISO 8601 date format of the time that this resource was edited

Url
url string

The hypermedia URL of this resource

person

Name Path Type Description
Name
name string

The name of this person

Height
height string

The height of the person in centimeters

Mass
mass string

The mass of the person in kilograms

Hair Color
hair_color string

The hair color of this person. Will be "unknown" if not known or "n/a" if the person does not have hair

Skin Color
skin_color string

The skin color of this person.

Eye Color
eye_color string

The eye color of this person. Will be "unknown" if not known or "n/a" if the person does not have an eye.

Birth Year
birth_year string

The birth year of the person, using the in-universe standard of BBY or ABY - Before the Battle of Yavin or After the Battle of Yavin. The Battle of Yavin is a battle that occurs at the end of Star Wars episode IV: A New Hope

Gender
gender string

The gender of this person. Either "Male", "Female" or "unknown", "n/a" if the person does not have a gender.

Home World
homeworld string

The URL of a planet resource, a planet that this person was born on or inhabits.

Films
films array of string

An array of film resource URLs that this person has been in

Species
species array of string

An array of species resource URLs that this person belongs to

Vehicles
vehicles array of string

An array of vehicle resource URLs that this person has piloted

Starships
starships array of string

An array of starship resource URLs that this person has piloted

Created Date
created string

The ISO 8601 date format of the time that this resource was created

Edited Date
edited string

The ISO 8601 date format of the time that this resource was edited

Url
url string

The hypermedia URL of this resource