API dalam Python
import requests
import json
r = requests.get("URL")
j=r.json()
print(j)
Awesomered989
import requests
import json
r = requests.get("URL")
j=r.json()
print(j)
import requests
response = requests.get("http://api.open-notify.org/astros.json")
print(response)
>>>> Response<200>