commit 4f951872fba08defa9fa159b5d3c2d302138be6e Author: Jadowyne Ulve Date: Sat May 24 09:32:17 2025 -0500 first commit diff --git a/main.py b/main.py new file mode 100644 index 0000000..357554c --- /dev/null +++ b/main.py @@ -0,0 +1,22 @@ +import requests + + +payload = { + "value": [ + { + "name": "10k Bitrate", + "videoPassthrough": False, + "audioPassthrough": True, + "videoBitrate": 10000, + "audioBitrate": 160, + "scaledWidth": 1920, + "scaledHeight": 1080, + "framerate": 60, + "cpuUsageLevel": 3 + } + ] +} + +response = requests.post("http://192.168.1.67:8086/api/admin/config/video/streamoutputvariants", json=payload, auth=('admin', "abc123")) + +print(response) \ No newline at end of file diff --git a/mongotest.py b/mongotest.py new file mode 100644 index 0000000..1e1053a --- /dev/null +++ b/mongotest.py @@ -0,0 +1,22 @@ +import pymongo +import pprint +import json +import datetime + +import requests + +headers = { + "Content-Type": "application/json" + } + +local_timeline_api_endpoint = "https://misskey.treehousefullofstars.com/api/notes/local-timeline" +payload = { + "withFiles": False, + "withRenotes": False, + "withReplies": False, + "limit": 50 + } + +response = requests.post(local_timeline_api_endpoint, headers=headers, json=payload) + +pprint.pprint(response.json()) \ No newline at end of file diff --git a/test.json b/test.json new file mode 100644 index 0000000..e69de29