{"id":15306133,"url":"https://github.com/hansputera/brainly-scraper-languages","last_synced_at":"2025-08-01T03:35:40.204Z","repository":{"id":37049143,"uuid":"299898246","full_name":"hansputera/brainly-scraper-languages","owner":"hansputera","description":"Libraries that make searching on sites brainly easy.","archived":false,"fork":false,"pushed_at":"2025-02-04T00:49:50.000Z","size":344,"stargazers_count":18,"open_issues_count":12,"forks_count":9,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-28T04:51:12.337Z","etag":null,"topics":["brainly","brainly-scraper","brainlyapi","hacktoberfest","scraper"],"latest_commit_sha":null,"homepage":"https://hansputera.github.io/brainly-scraper-languages/","language":"TypeScript","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/hansputera.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-30T11:33:13.000Z","updated_at":"2025-03-06T19:25:59.000Z","dependencies_parsed_at":"2023-12-30T01:40:49.324Z","dependency_job_id":"254f3fb4-94a3-4ddc-b861-a6e5694caf5b","html_url":"https://github.com/hansputera/brainly-scraper-languages","commit_stats":{"total_commits":121,"total_committers":6,"mean_commits":"20.166666666666668","dds":0.5867768595041323,"last_synced_commit":"cd836a746122c454b5d3930f2983d0b804945e8b"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fbrainly-scraper-languages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fbrainly-scraper-languages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fbrainly-scraper-languages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fbrainly-scraper-languages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansputera","download_url":"https://codeload.github.com/hansputera/brainly-scraper-languages/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273533,"owners_count":20750904,"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":["brainly","brainly-scraper","brainlyapi","hacktoberfest","scraper"],"created_at":"2024-10-01T08:04:33.518Z","updated_at":"2025-03-30T03:31:27.116Z","avatar_url":"https://github.com/hansputera.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![brainly-scraper-languages](https://socialify.git.ci/hansputera/brainly-scraper-languages/image?description=1\u0026font=Raleway\u0026forks=1\u0026issues=1\u0026language=1\u0026owner=1\u0026pulls=1\u0026stargazers=1\u0026theme=Light)\n\nThis library retrieves data from Brainly that has been designed to avoid `403 Forbidden` exception.\n\n\u003e To avoid such errors, you can fill in a valid country code. You can test the 10 languages or country codes available to see if your server hosting country location or location is rejected.\n\nSee https://github.com/hansputera/brainly-scraper-languages/blob/master/AVAILABLE_LANGUAGES.md\n\n# 💉 Installation\n- Using NPM : `npm install brainly-scraper-v2`\n- Using YARN : `yarn add brainly-scraper-v2`\n\n# 📜 How to use\n\u003e WARNING:  Make sure the country code you entered in the constructor is correct.\n\n- Code\n\n```js\nconst { Brainly } = require(\"brainly-scraper-v2\");\nconst brain = new Brainly(\"id\"); // 'id' - Default to 'id'\n\n// You can do\nbrain.searchWithMT(\"Pythagoras\", \"es\").then(console.log).catch(console.error);\n// Or (You need to enter correctly country code in the constructor).\nbrain.search(\"Pythagoras\", \"es\").then(console.log).catch(console.error);\n```\n\n- Output\n\n```json\n[\n  {\n    question: {\n      id: 5070014,\n      content: 'Pythagoras nació en el año 580 a.c  y murió en el año 501. ¿Que edad tenia Pythagoras Cúando murió?',\n      closed: true,\n      created: [Object],\n      attachments: [],\n      author: [Object],\n      education: 'matematicas',\n      education_level: undefined,\n      canBeAnswered: true,\n      points_answer: [Object],\n      points_question: 10,\n      grade: 'Secundaria',\n      lastActivity: '2020-09-22T00:22:19.000Z',\n      verifiedAnswer: true\n    },\n    answers: [ [Object] ]\n  }, { ... }\n]\n```\n\n#  ⏱ Changelogs\nYou can check the changelogs on the [GitHub Releases Page](https://github.com/hansputera/brainly-scraper-languages/releases)\n\n# ⚙️ Issues and Bugs\nIf you have problems using this library, you can create an issue in the [github repository](https://github.com/hansputera/brainly-scraper-languages). Remember, don't forget to read the instructions and try.\n\n# ✍️ Contributions\nDo you want to contribute with this library for the better? Very well, fork this [github repository](https://github.com/hansputera/brainly-scraper-languages) then install dependencies to your directory. Happy coding 😁\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansputera%2Fbrainly-scraper-languages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansputera%2Fbrainly-scraper-languages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansputera%2Fbrainly-scraper-languages/lists"}