diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/.postmate/collections/QBitTorrent API.json b/.postmate/collections/QBitTorrent API.json new file mode 100644 index 0000000..b548883 --- /dev/null +++ b/.postmate/collections/QBitTorrent API.json @@ -0,0 +1,74 @@ +{ + "id": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "creatredOn": "2026-05-05T22:01:07.843Z", + "folders": [], + "requests": [ + { + "url": "https://bt.ktr32.org/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "json": {}, + "xml": "", + "x-www-form-urlencoded": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "plainText": "" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [] + }, + { + "id": "e5f30dbd-e3e9-467d-8496-7fbc3782efd0", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "name": "Get Torrents", + "url": "https://bt.ktr32.org/api/v2/torrents/info", + "method": "GET", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com" + }, + "body": { + "json": {} + }, + "tests": [], + "bodyFromat": "json", + "testScript": "", + "bodyFormat": "json", + "preRequestScript": "", + "preRequests": [ + { + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "requestId": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da" + } + ], + "auth": { + "type": "none" + }, + "cookies": [] + } + ] +} \ No newline at end of file diff --git a/.postmate/postmate-history.json b/.postmate/postmate-history.json new file mode 100644 index 0000000..0306cb2 --- /dev/null +++ b/.postmate/postmate-history.json @@ -0,0 +1,260 @@ +[ + { + "url": "https://bt.ktr32.org/api/v2/torrents/info", + "method": "GET", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "e5f30dbd-e3e9-467d-8496-7fbc3782efd0", + "name": "Get Torrents", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "json", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778032740778 + }, + { + "url": "https://bt.ktr32.org/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded", + "x-debug-host": "{{QBTHOST}}" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778032446698 + }, + { + "url": "https://bt.ktr32.org/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778032431790 + }, + { + "url": "https://{{QBTHOST}}/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded", + "x-debug-host": "{{QBTHOST}}" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778032368098 + }, + { + "url": "https://{{QBTHOST}}/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778019570156 + }, + { + "url": "https://{{QBTHOST}}/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778019511956 + }, + { + "url": "https://{{QBTHOST}}/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778019378175 + }, + { + "url": "https://{{QBTHOST}}/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778019310263 + }, + { + "url": "https://bt.ktr32.org/api/v2/auth/login", + "method": "POST", + "headers": { + "referer": "https://bt.ktr32.org/", + "accept": "*/*", + "user-agent": "https://postmateclient.com", + "content-type": "application/x-www-form-urlencoded" + }, + "body": { + "username": "{{QBTUSERNAME}}", + "password": "{{QBTPASSWORD}}" + }, + "tests": [], + "preRequestScript": "", + "testScript": "", + "id": "f2a3d592-3c47-4e2b-bbd1-1c403c0ce4da", + "name": "Login", + "collectionId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "containerId": "4f1bc04d-f562-427b-99cf-b06504f6b81d", + "collectionName": "QBitTorrent API", + "bodyFormat": "x-www-form-urlencoded", + "preRequests": [], + "auth": { + "type": "none" + }, + "cookies": [], + "timestamp": 1778019241940 + } +] \ No newline at end of file diff --git a/.postmate/postmateHeader.json b/.postmate/postmateHeader.json new file mode 100644 index 0000000..cd1cb84 --- /dev/null +++ b/.postmate/postmateHeader.json @@ -0,0 +1,7 @@ +[ + { + "key": "content-type", + "value": "application/json", + "default": false + } +] \ No newline at end of file