M
M
mirindanda2021-12-01 21:16:20
Python
mirindanda, 2021-12-01 21:16:20

How to get a link?

How can I get and insert a link to the image code from this site https://api.nasa.gov/planetary/apod?api_key=DEMO_K... ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Pankov, 2021-12-01
@trapwalker

For example.

py "json.load(urllib.request.urlopen('https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY&date=2017-09-24'))['url']"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question