I have been trying to learn Python formatted as Json. For the primary purpose of home automation. I have learned to say "Hello world " a few different ways. I have learned some IF's and ELIF, while, Inputs, Time.sleep. However this does not help me with the original task. Making a simple API request. A post to trigger webhook. I can simply type it into Google and it will trigger my webhook which in turn controls the device. Yet I cannot find anywhere to explain how to do this with Python. I am attempting a simple code of IF this input is true post this API or webhook. Every time I try to find this it leads me down a rabbit hole of you need "this" (some format of code or library or something) which leads to oh well for that you need "this" (another form of code, download, attachment etc..) For example I downloaded something called "requests" it was supposed to be a download for making HTTP requests. Then I go to use it and my pycharm doesn't recognize it. I get an error saying that it is for an older version of pycharm.
Can anyone help me find a place or way to explain these API to me?
Thank you for your time and help.
python_moron
Can anyone help me find a place or way to explain these API to me?
Thank you for your time and help.
python_moron
buran write Apr-08-2021, 08:21 AM:
removed color and small size - it's hard on eyes
removed color and small size - it's hard on eyes