CATS API v3 call in python

39 views
Skip to first unread message

Filipa Ribeiro

unread,
Jul 1, 2022, 10:07:48 AM7/1/22
to CATS API v3
Hello.

Would you be able to direct me to a CATS API v3 call using python?

Thanks in advance!

Eduardo G

unread,
Aug 14, 2023, 9:12:16 AM8/14/23
to CATS API v3
# You can use this as an example. Change the URL according to what you need from: https://docs.catsone.com/api/v3/

import requests
import pandas as pd


headers = {
    "Authorization": "Token <KEY>",
    "Content-Type": "application/json"
          }

response = requests.get(url, headers=headers)
data = response.text
df = pd.read_json(data)
df
Reply all
Reply to author
Forward
0 new messages