my knowledge of Python is very limited however i know my question is a bit simple on how to send a GET/Post request. i'm trying to create a simple program for the (to be released LaMatric). it displays info coming from a GET request on a dot matrix like screen. I would like to connect it with Eventghost then be able to send all kinda of info (weather, reminders.... and so on) to the screen. On the website they provide you with this code to get started, but i'm not sure how to convert that to Python.
curl -X POST \
-H "Accept: application/json" \
-H "X-Access-Token: <MY TOKEN>" \
-H "Cache-Control: no-cache" \
-d '{
"frames": [
{
"index": 0,
"text": "<TEXT GOES HERE>",
"icon": null
}
]
}' \
https://developer.lametric.com......(API)