probe-gate
Demonstrates fetching a specific research dataset with its metadata and download information
curl 'https://www.pewresearch.org/wp-json/wp/v2/dataset/296006'
import requests
resp = requests.get("https://www.pewresearch.org/wp-json/wp/v2/dataset/296006")
data = resp.json()
import zingu_apis
api = zingu_apis.api("pewresearch")
result = api.fetch("wp/v2/dataset/{id}")
for item in result:
print(item)
const resp = await fetch("https://www.pewresearch.org/wp-json/wp/v2/dataset/296006");
const data = await resp.json();