probe-gate
Fetches a media file (image) with all available size variants and metadata
curl 'https://www.pewresearch.org/wp-json/wp/v2/media/298845'
import requests
resp = requests.get("https://www.pewresearch.org/wp-json/wp/v2/media/298845")
data = resp.json()
import zingu_apis
api = zingu_apis.api("pewresearch")
result = api.fetch("wp/v2/media/{id}")
for item in result:
print(item)
const resp = await fetch("https://www.pewresearch.org/wp-json/wp/v2/media/298845");
const data = await resp.json();