{"id":23792566,"url":"https://github.com/howz1t/gamepedia-api","last_synced_at":"2025-09-06T02:33:15.334Z","repository":{"id":116798195,"uuid":"105760621","full_name":"HOWZ1T/gamepedia-api","owner":"HOWZ1T","description":"A Work In Progress Unofficial API for http://www.gamepedia.com/","archived":false,"fork":false,"pushed_at":"2017-10-04T12:19:49.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T13:30:50.186Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HOWZ1T.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-04T11:29:24.000Z","updated_at":"2017-10-04T11:29:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed0bce68-70b2-4671-a7c7-f0b3ce107729","html_url":"https://github.com/HOWZ1T/gamepedia-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HOWZ1T/gamepedia-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HOWZ1T%2Fgamepedia-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HOWZ1T%2Fgamepedia-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HOWZ1T%2Fgamepedia-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HOWZ1T%2Fgamepedia-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HOWZ1T","download_url":"https://codeload.github.com/HOWZ1T/gamepedia-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HOWZ1T%2Fgamepedia-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273848387,"owners_count":25178906,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01-01T18:35:53.227Z","updated_at":"2025-09-06T02:33:15.302Z","avatar_url":"https://github.com/HOWZ1T.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Unofficial Gamepedia API\n\n## DOCUMENTATION\n1. How to install\n2. Classes\n3. Functions\n\n### 1. How to install\nIn the command-line use: npm install gamepedia-api --save\n\n### 2. Classes\n- Wiki\n  - constructor(url_, imageURL_, summary_, edits_, contributors_, articles_)\n\t- [STRING] url_ is the url of the wiki page\n\t- [STRING] imageURL_ is the thumbnail url of the wiki page\n\t- [STRING] summary_ is the summary of the wiki page\n\t- [NUMBER] edits_ is the edits of the wiki page\n\t- [NUMBER] contributors_ is the contributors of the wiki page\n\t- [NUMBER] articles_ is the articles of the wiki page\n\n### 3. Functions\n- search(search_term, page, timeout [optional])\n  - Description: Returns a Promise which resolves in an array of wikis matching the search term from the specified page.\n  - Parameters:\n\t- [STRING] search_term\n\t- [NUMBER] page the page number which is searched, e.g: 1\n\t- [NUMBER] [OPTIONAL] timeout in seconds, defaults to 10\n  - example:\n\t```javascript\n\tlet search = require('gamepedia-api').search;\n\tsearch(\"Cuphead\", 1).then(result =\u003e { console.log(result) }).catch(err =\u003e { console.log(\"ERROR: \"+err) });\n\t```\n\tOR\n\t```javascript\n\tlet search = require('gamepedia-api').search;\n\tsearch(\"Cuphead\", 1, 15).then(result =\u003e { console.log(result) }).catch(err =\u003e { console.log(\"ERROR: \"+err) });\n\t```\n\n- searchPages(search_term, pageStart, pageEnd, timeout [optional])\n  - Description: Returns a Promise which resolves in an array of wikis matching the search term from the specified page-range.\n  - Parameters:\n\t- [STRING] search_term\n\t- [NUMBER] pageStart the page to start at\n\t- [NUMBER] pageEnd the page to end at (inclusive)\n\t- [NUMBER] [OPTIONAL] timeout -in seconds, defaults to 10\n  - example:\n\t```javascript\n\tlet searchPages = require('gamepedia-api').searchPages;\n\tsearchPages(\"RPG\", 1, 10).then(result =\u003e { console.log(result) }).catch(err =\u003e { console.log(\"ERROR: \"+err) });\n\t```\n\tOR\n\t```javascript\n\tlet searchPages = require('gamepedia-api').searchPages;\n\tsearchPages(\"RPG\", 1, 10, 20).then(result =\u003e { console.log(result) }).catch(err =\u003e { console.log(\"ERROR: \"+err) });\n\t```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowz1t%2Fgamepedia-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowz1t%2Fgamepedia-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowz1t%2Fgamepedia-api/lists"}