没错,本次接口是美国国家航空航天局NASA提供的。这个接口包含了海量有意思的图文,视频等资源,对于广大的太空爱好者来说简直是福利哇,目前还没想好如何利用好这个接口,只做了一个简单的示例页面。
接口地址:
https://api-cn.berryapi.net/nasa/
接口参数
{
"code": 200,
"title": "Geminids of the North",
"story": "rth's annual Geminid meteor shower did not disappoint as our fair planet plowed through dust from active asteroid 3200 Phaethon. Captured in this northern hemisphere nightscape, the meteors stream away from the shower's radiant in Gemini. To create the image, 37 individual frames recording meteor streaks were taken over period of 8.5 hours during the night of December 12/13. In the final composite they were selected and registered against the starry sky above a radio telescope dish of MUSER, a solar-dedicated radio telescope array at astronomically-named Mingantu Station in Inner Mongolia, China, about 400 kilometers from Beijing. Sirius, alpha star of Canis Major, shines brightly just above the radio dish and the Milky Way stretches toward the zenith. Yellowish Betelgeuse is a standout in Orion to the right of the northen Milky Way. The shower's radiant is at top left, high above the horizon near Castor and Pollux the twin stars of Gemini. The radiant effect is due to perspective as the parallel meteor tracks appear to converge in the distance. Gemini's meteors enter Earth's atmosphere traveling at about 22 kilometers per second. Submitted to APOD: Best images (so far) of the Geminid Meteor Shower 2017.",
"hdurl": "https://apod.nasa.gov/apod/image/1712/GeminidsYinHaoC.jpg",
"url": "https://apod.nasa.gov/apod/image/1712/GeminidsYinHao1024.jpg",
"API AUTHOUR": "www.lylares.com",
"copyright": "Yin Hao",
"date": "2017-12-15"
}
示例
NASA源接口:
转载原创文章请注明,转载自: LYLARES BLOG » NASA每日天文图片接口调用示例
你好,请问示例中是实际星空的3D图吗?有没有具体开放源码呢,想自己试着做一个星图类的应用~不知道怎么调用NASA源接口
https://api.nasa.gov/