{"info":{"_postman_id":"4018f3e8-4e80-4d1f-92d2-0c16bc5ed7b8","name":"3CL - Public","description":"<html><head></head><body><p>The ever expanding API for 3CL</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28145235","collectionId":"4018f3e8-4e80-4d1f-92d2-0c16bc5ed7b8","publishedId":"2s93z5Ak2c","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"66ccff"},"publishDate":"2023-06-23T01:54:12.000Z"},"item":[{"name":"User","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"930cd190-3c89-4042-acf8-f7bcdbf36d03","exec":["var jsonData = pm.response.json();","pm.collectionVariables.set(\"auth_token\", jsonData.auth_token);"],"type":"text/javascript"}}],"id":"cf1c3eca-8eb4-4096-af56-8386f844e112","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"makopov@gmail.com","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"device_name","value":"desktop","type":"text"}]},"url":"https://app.3cl.dev/api/auth/login","urlObject":{"path":["auth","login"],"host":["https://app.3cl.dev/api"],"query":[],"variable":[]}},"response":[{"id":"d9701ba4-2a11-456e-87e1-32782e5427b0","name":"Successful Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"makopov@gmail.com","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"device_name","value":"desktop","type":"text"}]},"url":"https://app.3cl.dev/api/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 22 Jun 2023 23:10:02 GMT"},{"key":"Date","value":"Thu, 22 Jun 2023 23:10:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"auth_token\": \"6|1KJQQj5jDJdV6EouVqtNqC29ZEB8ae857wteKiXL\"\n}"}],"_postman_id":"cf1c3eca-8eb4-4096-af56-8386f844e112"},{"name":"User Info","id":"8e1bea32-e0cb-418e-bf60-648f0c9507e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}],"advancedConfig":[{"key":"password","value":"{{stripe_api_key}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://app.3cl.dev/api/user","urlObject":{"path":["user"],"host":["https://app.3cl.dev/api"],"query":[],"variable":[]}},"response":[{"id":"cbb73124-592e-44f5-a6dd-4635aa2a5796","name":"Successful User Data","originalRequest":{"method":"GET","header":[],"url":"https://app.3cl.dev/api/api/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 22 Jun 2023 23:15:24 GMT"},{"key":"Date","value":"Thu, 22 Jun 2023 23:15:24 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"Michael Akopov\",\n    \"email\": \"makopov@gmail.com\",\n    \"email_verified_at\": \"2023-05-01T05:11:28.000000Z\",\n    \"current_team_id\": null,\n    \"profile_photo_path\": null,\n    \"created_at\": \"2023-05-01T05:11:28.000000Z\",\n    \"updated_at\": \"2023-05-01T05:11:28.000000Z\",\n    \"broker_api_keys\": [],\n    \"profile_photo_url\": \"https://ui-avatars.com/api/?name=M+A&color=7F9CF5&background=EBF4FF\"\n}"}],"_postman_id":"8e1bea32-e0cb-418e-bf60-648f0c9507e7"}],"id":"0b3f079c-71de-4e1a-ac4f-c45f2b83db84","description":"<p>This folder contains endpoints for authenticating to receive your bearer token and retrieve basic account information.</p>\n","_postman_id":"0b3f079c-71de-4e1a-ac4f-c45f2b83db84"},{"name":"Data","item":[{"name":"Technical Indicators","id":"2cd952b7-b20a-49f3-9d5a-dc1c8c29539c","protocolProfileBehavior":{"disableBodyPruning":true,"strictSSL":false},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://app.3cl.dev/api/ti?symbol=btc-usdt&interval=60m&exchange=kucoin&indicator=rsi","description":"<p>This allows you to retrieve any technical indicator value for the given Exchange, Interval, and Symbol.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"faad81c1-8c7c-47a6-9a3d-cf6c2848791a","id":"faad81c1-8c7c-47a6-9a3d-cf6c2848791a","name":"Data","type":"folder"}},"urlObject":{"path":["ti"],"host":["https://app.3cl.dev/api"],"query":[{"description":{"content":"<p>Symbol must be in the format btc-usdt</p>\n","type":"text/plain"},"key":"symbol","value":"btc-usdt"},{"description":{"content":"<p>Currently only 60m is supported</p>\n","type":"text/plain"},"key":"interval","value":"60m"},{"description":{"content":"<p>Currently only kucoin is supported</p>\n","type":"text/plain"},"key":"exchange","value":"kucoin"},{"description":{"content":"<p>One of the following is currently supported: rsi, macd, stochastic, bollingerband</p>\n","type":"text/plain"},"key":"indicator","value":"rsi"}],"variable":[]}},"response":[{"id":"4eb3e908-b10c-4560-bb40-7d95f2964fc2","name":"Invalid Indicator Specified","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.3cl.dev/api/api/ti?symbol=btc-usdt&interval=60m&exchange=kucoin&indicator=stochasticrsi","host":["https://app.3cl.dev/api"],"path":["api","ti"],"query":[{"key":"symbol","value":"btc-usdt"},{"key":"interval","value":"60m"},{"key":"exchange","value":"kucoin"},{"key":"indicator","value":"stochasticrsi"}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost"},{"key":"Date","value":"Thu, 22 Jun 2023 23:15:41 GMT"},{"key":"Date","value":"Thu, 22 Jun 2023 23:15:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"message\": \"Validation failed.\",\n    \"errors\": {\n        \"indicator\": [\n            \"The selected indicator is invalid.\"\n        ]\n    }\n}"}],"_postman_id":"2cd952b7-b20a-49f3-9d5a-dc1c8c29539c"}],"id":"faad81c1-8c7c-47a6-9a3d-cf6c2848791a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ae755da9-ebf0-48a4-9dbb-2316887077e6"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9fae6d4c-7812-4975-87b2-ef25da5e2d3e"}}],"_postman_id":"faad81c1-8c7c-47a6-9a3d-cf6c2848791a","description":""}],"event":[{"listen":"prerequest","script":{"id":"a584cb28-78a3-4f84-8e13-e784adfbadbd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc41fa2c-eae5-41e5-8524-e76fc3ad4a16","type":"text/javascript","exec":[""]}}],"variable":[{"key":"user_email","value":"makopov@gmail.com","type":"string"},{"key":"user_password","value":"password","type":"string"},{"key":"user_devicename","value":"desktop","type":"string"},{"key":"auth_token","value":"","type":"string"},{"key":"url","value":"https://app.3cl.dev/api","type":"string"}]}