Skip to content

A galaxy exploration API implemented using Zeit Now's serverless functions

Notifications You must be signed in to change notification settings

pchiwan/galaxy-explorer-v2

Repository files navigation

Galaxy Explorer V2

A galaxy exploration API implemented using Zeit Now's serverless functions

Check it out here: https://galaxy-explorer-v2.now.sh/

Endpoints

GET /api/clusters/{clusterName}

Returns the information of the given cluster.

GET /api/clusters/{clusterName}/systems

Returns the names of all the systems in the given cluster.

GET /api/clusters/{clusterName}/systems/{systemName}

Returns the information of the given system.

GET /api/clusters/{clusterName}/systems/{systemName}/planets

Returns the names of all the planets in the given system.

GET /api/clusters/{clusterName}/systems/{systemName}/planets/{planetName}

Returns the information of the given planet.

GET /api/locate/{planetName}

Returns the full path to the given planet in the galaxy, i.e. Cluster -> System -> Planet.

E.g.:

  • /api/locate/Thessia => Athena Nebula -> Parnitha -> Thessia

  • /api/locate/Earth => Local Cluster -> Sol -> Earth

GET /api/gasgiants

Returns a list of all the gas giants in the galaxy.

Note: Gas giants have no surface temperature, so their temp is set to N/A.

About

A galaxy exploration API implemented using Zeit Now's serverless functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published