Using Python 3 with Import.io
Dependencies
pip3 install requests pandas
- Go to the Integrate tab for your Import.io extractor
- Copy the CSV from the last successful run endpoint
- Replace the endpoint into the below with the CSV endpoint
import requests
import pandas as pd
import io
API_ENDPOINT = ''
session = requests.Session()
response = session.get(url=API_ENDPOINT).content
df = pd.read_csv(io.StringIO(response.decode('utf-8-sig')))
print(df.head())