probe-gate
Demonstrates fetching the comment thread for a specific blog post
curl 'https://jsonplaceholder.typicode.com/posts/1/comments'
import requests
resp = requests.get("https://jsonplaceholder.typicode.com/posts/1/comments")
data = resp.json()
import zingu_apis
api = zingu_apis.api("typicode")
result = api.fetch("posts/{id}/comments")
for item in result:
print(item)
const resp = await fetch("https://jsonplaceholder.typicode.com/posts/1/comments");
const data = await resp.json();