curlコマンドの実行方法
import os.path p = "curl 'https://www.cotogoto.ai/webapi/noby.json' ..." req = os.system(p) print(req)
requestsを使う場合
以下のサイトで簡単に生成できます。便利! https://curl.trillworks.com/
import os.path p = "curl 'https://www.cotogoto.ai/webapi/noby.json' ..." req = os.system(p) print(req)
以下のサイトで簡単に生成できます。便利! https://curl.trillworks.com/