{"id":20622564,"url":"https://github.com/andy-python-programmer/rawpoll","last_synced_at":"2025-04-15T12:33:52.472Z","repository":{"id":56362960,"uuid":"304836555","full_name":"Andy-Python-Programmer/RawPoll","owner":"Andy-Python-Programmer","description":"Raw poll makes it easy to create new polls in seconds and free and open source!","archived":false,"fork":false,"pushed_at":"2020-11-22T06:40:40.000Z","size":264,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T22:29:07.734Z","etag":null,"topics":["poll","rocket","rust"],"latest_commit_sha":null,"homepage":"https://rawpoll.herokuapp.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Andy-Python-Programmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-17T08:53:52.000Z","updated_at":"2020-12-15T17:30:32.000Z","dependencies_parsed_at":"2022-08-15T17:20:33.739Z","dependency_job_id":null,"html_url":"https://github.com/Andy-Python-Programmer/RawPoll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Python-Programmer%2FRawPoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Python-Programmer%2FRawPoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Python-Programmer%2FRawPoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Python-Programmer%2FRawPoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andy-Python-Programmer","download_url":"https://codeload.github.com/Andy-Python-Programmer/RawPoll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072588,"owners_count":21208212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["poll","rocket","rust"],"created_at":"2024-11-16T12:23:32.479Z","updated_at":"2025-04-15T12:33:52.430Z","avatar_url":"https://github.com/Andy-Python-Programmer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"static/images/logo.svg\" height=\"200px\"\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eRaw Poll\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eRaw poll makes it easy to create new polls in seconds and free and open source!\u003c/p\u003e\n\n## Api\n\n### Poll\n\n1. Create\n    ```\n    POST /api/poll\n    ```\n\n    Format: `application/json`\n\n    Params:    \n    | Name          | Type   | Notes     |\n    |---------------|--------|-----------|\n    | `question`    | String | Required. |\n    | `description` | String | Required. |\n    | `options`     | Array  | Required. |\n\n    Response ( If the poll was successfully created ):\n    ```json\n    {\n        \"id\": \"poll_id\",\n        \"status\": \"success\"\n    }\n    ```\n\n2. Read\n    ```\n    GET /api/poll/\u003cpoll_id\u003e\n    ```\n\n    If the poll was found:\n    ```json\n    {\n        \"question\": \"poll_question\",\n        \"description\": \"poll_description\",\n        \"options\": {\n            \"poll_option\": 1,\n            \"poll_option-2\": 1,\n            ...\n        },\n    }\n    ```\n\n    If the poll was not found:\n    ```json\n    {\n        \"error\": \"Cannot find the poll specified!\",\n        \"status\": \"failure\"\n    }\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy-python-programmer%2Frawpoll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandy-python-programmer%2Frawpoll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy-python-programmer%2Frawpoll/lists"}