{"info":{"_postman_id":"bcc799ba-850f-412b-a3ae-5562295d693c","name":"PiFi","description":"<html><head></head><body><p>PiFi allows you to easily set the wifi settings of a Raspberry Pi through the use of an api. PiFi will automatically turn on Access Point mode when wifi is lost.</p>\n<h5 id=\"current-version-10\">Current Version: 1.0</h5>\n<h1 id=\"download\">Download</h1>\n<p><a href=\"https://github.com/anthonyguella/PiFi\">https://github.com/anthonyguella/PiFi</a></p>\n<h1 id=\"installation\">Installation</h1>\n<ol>\n<li><p>Clone Repository</p>\n</li>\n<li><p>Run <code>sudo ./install.sh</code></p>\n</li>\n</ol>\n<h1 id=\"usage\">Usage</h1>\n<p>When no network is detected, the pi will become an unprotected hotspot with the SSID: <code>PiFi</code></p>\n<p>The ip of the pi is static and is set to: <code>192.168.50.5</code></p>\n<p>The webserver is run on <code>192.168.50.5:5000</code></p>\n<p>You must be connected to the PiFi Access Point for these calls to work.</p>\n<h1 id=\"help\">Help</h1>\n<p>Email me @ <a href=\"mailto:arg8684@rit.edu\">arg8684@rit.edu</a> or post an issue on the github page</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Download","slug":"download"},{"content":"Installation","slug":"installation"},{"content":"Usage","slug":"usage"},{"content":"Help","slug":"help"}],"owner":"3580973","collectionId":"bcc799ba-850f-412b-a3ae-5562295d693c","publishedId":"RWMEQV5x","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-07-18T20:35:48.000Z"},"item":[{"name":"Verify","id":"7a886367-a2af-4b94-8a10-175f8be9a9c1","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"192.168.50.5:5000/verify","description":"<p>Used to verify that you are connected to a PiFi device</p>\n","urlObject":{"port":"5000","path":["verify"],"host":["192","168","50","5"],"query":[],"variable":[]}},"response":[{"id":"3f4a4c4b-c809-4a28-963c-3cd986831740","name":"Verify Example","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"192.168.50.5:5000/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"19","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 18 Jul 2018 19:30:13 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.11.15 Python/2.7.13","name":"Server","description":"A name for the server"}],"cookie":[],"responseTime":null,"body":"{\n  \"pifi\": true\n}\n"}],"_postman_id":"7a886367-a2af-4b94-8a10-175f8be9a9c1"},{"name":"Get Avaliable SSID's","id":"730677ce-4ff0-461a-81bd-0e32e4236566","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"192.168.50.5:5000/wifi","description":"<p>Returns a list of SSID's avaliable to the pi</p>\n","urlObject":{"port":"5000","path":["wifi"],"host":["192","168","50","5"],"query":[],"variable":[]}},"response":[{"id":"d1b3d8de-1d7d-49e9-8252-b2023a6d623f","name":"Get Avaliable SSID's Example","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"192.168.50.5:5000/wifi"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"485","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Wed, 18 Jul 2018 19:24:35 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"Werkzeug/0.11.15 Python/2.7.13","name":"Server","description":"A name for the server"}],"cookie":[],"responseTime":null,"body":"{\n  \"networks\": [\n    {\n      \"protected\": true, \n      \"ssid\": \"Sawdust\"\n    }, \n    {\n      \"protected\": true, \n      \"ssid\": \"Dundela\"\n    }, \n    {\n      \"protected\": true, \n      \"ssid\": \"Bodhi\"\n    }, \n    {\n      \"protected\": false, \n      \"ssid\": \"Office speaker.k\"\n    }, \n    {\n      \"protected\": true, \n      \"ssid\": \"waterstreet\"\n    }, \n    {\n      \"protected\": true, \n      \"ssid\": \"pec-cville\"\n    }, \n    {\n      \"protected\": true, \n      \"ssid\": \"VCCE202\"\n    }\n  ]\n}\n"}],"_postman_id":"730677ce-4ff0-461a-81bd-0e32e4236566"},{"name":"Set Network","id":"b5ffa3df-7f1b-475f-a381-18e941114c31","request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"ssid","value":"ExampleNetwork","type":"text"},{"key":"password","value":"Password123","type":"text"}]},"url":"192.168.50.5:5000/wifi","description":"<p>Sets the new network settings</p>\n<p>There are two keys that this call takes: \"ssid\" and \"password\". If the network is unprotected do not include the \"password\" key.</p>\n","urlObject":{"port":"5000","path":["wifi"],"host":["192","168","50","5"],"query":[],"variable":[]}},"response":[{"id":"0b1982ee-0b44-4fb4-b14c-1276c8d2f8db","name":"Set Network - Unprotected","originalRequest":{"method":"POST","header":[{"key":"ssid","value":"ExampleNetwork"}],"body":{"mode":"formdata","formdata":[{"key":"ssid","value":"exampleNetwork","type":"text"},{"key":"password","value":"Password123","type":"text"}]},"url":"192.168.50.5:5000/wifi"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"},{"id":"868a6ace-758e-4637-ad1d-0004f82ea77d","name":"Set Network - Protected","originalRequest":{"method":"POST","header":[{"key":"ssid","value":"ExampleNetwork"},{"key":"password","value":"Pa$$word123"}],"body":{"mode":"formdata","formdata":[{"key":"ssid","value":"exampleSSID","type":"text"},{"key":"password","value":"Password123","type":"text"}]},"url":"192.168.50.5:5000/wifi"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"b5ffa3df-7f1b-475f-a381-18e941114c31"}],"event":[{"listen":"prerequest","script":{"id":"29938a54-5c2f-43d4-8383-107327042126","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"df863f76-c0f8-462a-b883-75843e61e2bd","type":"text/javascript","exec":[""]}}]}