Reputation: 1
I am making a python script that will take data from a Notion database and create cards in a Codecks deck by using both their API's. I am however not able to make hero cards, only normal cards. When the cards generate, I see them start out as yellow (the hero card color) but quickly revert back to grey once all cards are created.
Anyone know how I specify that all cards should be(stay) hero cards?
My card creation function:
def create_hero_cards(content):
headers ={'Content-Type': 'application/json'}
data = {'content': content}
response = requests.post(url=CODECKS_API_URL, headers=headers, data=json.dumps(data))
Upvotes: 0
Views: 18