File size: 217 Bytes
d111a26
 
 
 
 
 
 
1
2
3
4
5
6
7
import pandas as pd, requests

def fetch_questions(url: str) -> pd.DataFrame:
    response = requests.get(url)
    response.raise_for_status()
    question_data = response.json()
    return pd.DataFrame(question_data)