TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: SWAPI – A Star Wars API

79 pointsby paulhallettover 10 years ago

14 comments

Adrockover 10 years ago
Check out the author&#x27;s blog post where he explains his motivation: <a href="http://phalt.co/if-you-have-data-they-will-consume-it/" rel="nofollow">http:&#x2F;&#x2F;phalt.co&#x2F;if-you-have-data-they-will-consume-it&#x2F;</a>
idlewanover 10 years ago
Is there a reason you&#x27;re not using numbers in the json output?<p><pre><code> &quot;vehicle_id&quot;: &quot;1&quot; </code></pre> is better represented as:<p><pre><code> &quot;vehicle_id&quot;: 1</code></pre>
评论 #8705750 未加载
评论 #8705247 未加载
mcphageover 10 years ago
Can I use the API to figure out that, for instance, the x-wing is &#x2F;vehicles&#x2F;1 and Mustafar is &#x2F;planets&#x2F;7? Otherwise, how would I know?
评论 #8704662 未加载
anonfunctionover 10 years ago
I was so excited and then equally let down when I realized it wasn&#x27;t online and this is just a coming soon page. Oh well, I signed up.
评论 #8704567 未加载
kcbannerover 10 years ago
Any reason why this is an API and not a data dump?
评论 #8704741 未加载
评论 #8704775 未加载
reubenswartzover 10 years ago
Not encouraging to see a basic error right on the front page: &quot;From all <i>six</i> Star Wars films&quot;<p>Couldn&#x27;t resist... ;-)
评论 #8704943 未加载
1kevgriffover 10 years ago
Signed up. This is going to be great for conference demos.
评论 #8704947 未加载
ianakellyover 10 years ago
I Virtualized this API just for kicks - <a href="https://vapi.ca.com/vapi/api/Vapidemouser/Star_Wars/planets/7" rel="nofollow">https:&#x2F;&#x2F;vapi.ca.com&#x2F;vapi&#x2F;api&#x2F;Vapidemouser&#x2F;Star_Wars&#x2F;planets&#x2F;...</a> and <a href="https://vapi.ca.com/vapi/api/Vapidemouser/Star_Wars/vehicles/1" rel="nofollow">https:&#x2F;&#x2F;vapi.ca.com&#x2F;vapi&#x2F;api&#x2F;Vapidemouser&#x2F;Star_Wars&#x2F;vehicles...</a><p>Would love more details and I can make a Virtual Copy of the whole thing.<p>Built it here <a href="https://vapi.ca.com" rel="nofollow">https:&#x2F;&#x2F;vapi.ca.com</a>
评论 #8705442 未加载
ukmadlzover 10 years ago
This is amazing, all I need is a reason to mash <a href="http://pokeapi.co" rel="nofollow">http:&#x2F;&#x2F;pokeapi.co</a> into this
评论 #8704562 未加载
SvenAnderssonover 10 years ago
Hah! I&#x27;m in need of just this sort of API come January, what are the odds? Awesome, hope you launch soon!
评论 #8704657 未加载
anonfunctionover 10 years ago
Where are your getting the data?
评论 #8705077 未加载
acomjeanover 10 years ago
Totally ridiculous, but awesome at the same time.<p>Make that API great!<p>Whats the backend?
评论 #8704505 未加载
emillonover 10 years ago
Under which license is this data available?
评论 #8704941 未加载
gegtikover 10 years ago
Luke Sykwalker
评论 #8704574 未加载