loading...

Public Service Announcement: The Star Wars API (swapi.co) Is Down!

fullstackchris profile image Chris Frewin ・1 min read

As the title says, this is more an alert than a full-fledged post.

As a lot of us know, this was a great tool to quickly test some async / API behavior! (Not to mention it's used in hundreds (maybe thousands?!) of existing tutorials and in examples of repositories!

Does anybody know the maintainer or what happened? Or if it will come back anytime soon? That thing's been around as long as I've been a dev...

Discussion

markdown guide
 

Checking out the github page (github.com/phalt/swapi) it looks like swapi is no longer actively maintained and is not guaranteed to be up. Looks like PokeApi is currently up though.

phalt.github.io/pokeapi-and-swapi-...

 

Nice, I'll have to check out PokeApi as an alternative.

Someone replied to the same information I had posted on twitter, apparently, swapi.dev is trying to be the successor to the original swapi.

 

It seems that swapi.dev is using a puma-dev cert, which is no longer accepted by macOS... interesting. Also, from the linked article, it sounds like PokéAPI may die any moment also.

I'm seriously considering standing up my own of both. Anyone have thoughts?

 

Hey, just to add my two cents:

While studying Deno and some of its REST Frameworks I've actually created a "port" of the SWApi.

It's not the same thing (mostly because I find the way they envelope data not hepful for the amount of data being transmited) but it still might be helpful for quickly getting a hang of doing http calls with any programming language.

The source code is available on this GitHub repo and it's currently published on swapi-deno.azurewebsites.net/

GitHub logo rodolphocastro / deno-swapi

A StarWars API written with Deno and powered by Oak and Svelte!

🚀 SWApi Deno

A RESTful API containing Star Wars data!

🏆 Acknowledgements

Thanks to @phalt for his work on the original Swapi and to @juriy for his work on the current Swapi.dev.

💻 Endpoints

Currently we support the following endpoints.

🎥 Films / Movies

  • All (GET api/films)
  • Single (GET api/films/{id})

🧬 Species

  • All (GET api/species/)
  • Single (GET api/species/{id})

🚗 Vehicles

  • All (GET api/vehicles/)
  • Single (GET api/vehicles/{id})

🚀 Starships

  • All (GET api/starships/)
  • Single (GET api/starships/{id})

🌍 Planets

  • All (GET api/planets/)
  • Single (GET api/planets/{id})

🤼 People

  • All (GET api/people/)
  • Single (GET api/people/{id})

🌌 Portal

Currently we have a portal that presents some information about the API.

This portal is powered by Svelte and its code can be found on the /portal subdirectory!

⏯ Running

☁ Using in

…

There's also a post published here about my motivation behind rewriting it and how it's currently deploy, however I wrote that post in Portuguese 😅