{"id":25639306,"url":"https://github.com/vigilant-umbrella/wikihowunofficialapi","last_synced_at":"2025-10-08T18:13:47.176Z","repository":{"id":48816210,"uuid":"331296494","full_name":"vigilant-umbrella/wikiHowUnofficialAPI","owner":"vigilant-umbrella","description":"API to extract data from wikiHow","archived":false,"fork":false,"pushed_at":"2021-07-10T10:02:57.000Z","size":32,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T01:12:16.482Z","etag":null,"topics":["api","pypi","pypi-package","pypi-packages","python","python-3","python3","wikihow","wikihow-website"],"latest_commit_sha":null,"homepage":"","language":"Python","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/vigilant-umbrella.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-01-20T12:13:31.000Z","updated_at":"2025-04-02T07:23:11.000Z","dependencies_parsed_at":"2022-09-23T22:01:20.021Z","dependency_job_id":null,"html_url":"https://github.com/vigilant-umbrella/wikiHowUnofficialAPI","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigilant-umbrella%2FwikiHowUnofficialAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigilant-umbrella%2FwikiHowUnofficialAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigilant-umbrella%2FwikiHowUnofficialAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigilant-umbrella%2FwikiHowUnofficialAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vigilant-umbrella","download_url":"https://codeload.github.com/vigilant-umbrella/wikiHowUnofficialAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986317,"owners_count":21194025,"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":["api","pypi","pypi-package","pypi-packages","python","python-3","python3","wikihow","wikihow-website"],"created_at":"2025-02-23T03:29:28.537Z","updated_at":"2025-10-08T18:13:47.084Z","avatar_url":"https://github.com/vigilant-umbrella.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wikiHowUnofficialAPI\n\nwikiHowUnofficilAPI aims to provide a Python-based interface to extract useful information from wikiHow articles such as article summary, steps, images, etc. in an easy-to-use way.\n\n- [Installation](#install)\n- [Usage](#usage)\n  - [Random HowTo](#random-howto)\n  - [Article Details](#article-details)\n  - [Images](#images)\n  - [Search](#search)\n\n## Installation\n\n```bash\npip install wikiHowUnofficialAPI\n```\n\n## Usage\n\n### Random HowTo\n\nLearn random stuff! Retuns a random WikiHow article URL.\n\n```python\nimport wikihowunofficialapi as wha\n\nra = wha.random_article()\nprint(ra)\n```\n\n### Article Details\n\nUses the article URL to return various details about an article. In addition, it returns whether an article is written by an expert or not.\n\n```python\nimport wikihowunofficialapi as wha\n\narticle = wha.Article('https://www.wikihow.com/Train-a-Dog')\n\nprint(article.url)\t\t\t\t\t# Print Article's URL\nprint(article.title)\t\t\t\t\t# Print Article's Title\nprint(article.intro)\t\t\t\t\t# Print Article's Introduction\nprint(article.n_methods)\t\t\t\t# Print number of methods in an Article\nprint(article.methods)\t\t\t\t\t# Print a list of methods in an Article\nprint(article.num_votes)\t\t\t\t# Print number of votes given to an Article\nprint(article.percent_helpful)\t\t\t\t# Print percentage of helpful votes given to an Article\nprint(article.is_expert)\t\t\t\t# Print True if the Article is written by an expert\nprint(article.last_updated)\t\t\t\t# Print date when the Article was last updated\nprint(article.views)\t\t\t\t\t# Print the number of views recieved by Article\nprint(article.co_authors)\t\t\t\t# Print the number of co-authors of an Article\nprint(article.references)\t\t\t\t# Print the number of references in an Article\nprint(article.summary)\t\t\t\t\t# Print Article's summary\nprint(article.warnings)\t\t\t\t\t# Print Article's warnings\nprint(article.tips)\t\t\t\t\t# Print Article's tips\n\nfirst_method = article.methods[0]\nfirst_step = first_method.steps[0]\nprint(first_step)\t\t\t\t\t# Print Article's first step of the first method\nprint(first_step.title)\t\t\t\t\t# Print the title of Article's first step of the first method\nprint(first_step.description)\t\t\t\t# Print the description of Article's first step of the first method\n```\n\n### Images\n\nRetrieves a list of image included in a step as URLs.\n\n```python\nimport wikihowunofficialapi as wha\n\narticle = wha.Article('https://www.wikihow.com/Train-a-Dog')\nprint(article.methods[0].steps[0].picture)\t\t# Print the URL of the image of Article's first step of the first method\n\n```\n\n### Search\n\nSearches WikiHow for the string and returns a list containing the title of the articles. The default max results is 10, but this can be changed.\n\n```python\nimport wikihowunofficialapi as wha\n\nmax_results = 1\nhow_tos = wha.search_wikihow(\"sleep\", max_results)\nprint(how_tos[0])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigilant-umbrella%2Fwikihowunofficialapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvigilant-umbrella%2Fwikihowunofficialapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigilant-umbrella%2Fwikihowunofficialapi/lists"}