{"id":26769805,"url":"https://github.com/fastering18/brainly-wrapper","last_synced_at":"2025-03-28T22:37:58.596Z","repository":{"id":57190359,"uuid":"344786821","full_name":"Fastering18/brainly-wrapper","owner":"Fastering18","description":"Unoffical brainly wrapper.","archived":false,"fork":false,"pushed_at":"2021-06-03T03:15:15.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T18:05:46.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fastering18.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-05T11:17:57.000Z","updated_at":"2021-11-07T10:34:09.000Z","dependencies_parsed_at":"2022-08-27T10:41:18.802Z","dependency_job_id":null,"html_url":"https://github.com/Fastering18/brainly-wrapper","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/Fastering18%2Fbrainly-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2Fbrainly-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2Fbrainly-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fastering18%2Fbrainly-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fastering18","download_url":"https://codeload.github.com/Fastering18/brainly-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112639,"owners_count":20725300,"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":[],"created_at":"2025-03-28T22:37:58.181Z","updated_at":"2025-03-28T22:37:58.581Z","avatar_url":"https://github.com/Fastering18.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unoffical Brainly-wrapper  \r\nWritten in NodeJS, do your homework now!\r\n[NPM Package](https://www.npmjs.com/package/brainly-wrapper)\r\n\r\n```js\r\nconst brainly = require(\"brainly-wrapper\")\r\n\r\nbrainly.getQuestion(\"apa itu benar\").then(console.log).catch(console.error)\r\n\r\nbrainly.setServer(\"US\")\r\n\r\nbrainly.getQuestion(\"what is true\").then(console.log).catch(console.error)\r\n```  \r\n\r\nStructure:  \r\n```json\r\n{\r\n  \"id\": \"xxx=\",\r\n  \"databaseId\": \"Number\",\r\n  \"author\": {\r\n    \"id\": \"xxx\",\r\n    \"databaseId\": \"Number\",\r\n    \"isDeleted\": \"boolean\",\r\n    \"nick\": \"String (Username)\",\r\n    \"avatar\": {\r\n      \"thumbnailUrl\": \"String (URL)\",\r\n      \"__typename\": \"Attachment\"\r\n    },\r\n    \"rank\": {\r\n      \"name\": \"String (Rank)\",\r\n      \"__typename\": \"Rank\"\r\n    },\r\n    \"__typename\": \"User\"\r\n  },\r\n  \"content\": \"String (Question)\",\r\n  \"answers\": {\r\n    \"nodes\": [\r\n      {\r\n        \"thanksCount\": 1,\r\n        \"ratesCount\": 1,\r\n        \"rating\": 5,\r\n        \"content\": \"String (Answer)\",\r\n        \"__typename\": \"Answer\"\r\n      }\r\n    ],\r\n    \"hasVerified\": \"boolean\",\r\n    \"__typename\": \"AnswerConnection\"\r\n  },\r\n  \"__typename\": \"Question\"\r\n}\r\n```  \r\n\r\nTest the package with `npm test`   \r\nContributions, Issues, visit [Github](https://github.com/Fastering18/brainly-wrapper)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastering18%2Fbrainly-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastering18%2Fbrainly-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastering18%2Fbrainly-wrapper/lists"}