{"id":16859812,"url":"https://github.com/popgoesthewza/swgoh-help-api","last_synced_at":"2025-11-02T18:30:25.581Z","repository":{"id":33628625,"uuid":"148327859","full_name":"PopGoesTheWza/swgoh-help-api","owner":"PopGoesTheWza","description":"Google Apps Script client wrapper for the SWGoH.help API","archived":false,"fork":false,"pushed_at":"2022-12-06T14:33:32.000Z","size":984,"stargazers_count":7,"open_issues_count":16,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T01:08:50.019Z","etag":null,"topics":["galaxyofheroes","google-apps-script","star-wars","swgoh","typescript"],"latest_commit_sha":null,"homepage":"","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/PopGoesTheWza.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":"2018-09-11T14:10:56.000Z","updated_at":"2022-03-25T20:34:30.000Z","dependencies_parsed_at":"2023-01-15T01:43:36.599Z","dependency_job_id":null,"html_url":"https://github.com/PopGoesTheWza/swgoh-help-api","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopGoesTheWza%2Fswgoh-help-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopGoesTheWza%2Fswgoh-help-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopGoesTheWza%2Fswgoh-help-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopGoesTheWza%2Fswgoh-help-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PopGoesTheWza","download_url":"https://codeload.github.com/PopGoesTheWza/swgoh-help-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239399828,"owners_count":19632022,"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":["galaxyofheroes","google-apps-script","star-wars","swgoh","typescript"],"created_at":"2024-10-13T14:19:49.031Z","updated_at":"2025-11-02T18:30:25.506Z","avatar_url":"https://github.com/PopGoesTheWza.png","language":"TypeScript","funding_links":["https://www.patreon.com/user?u=470177"],"categories":[],"sub_categories":[],"readme":"# SWGoH.help API client for GAS v1.0.5_beta [![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)\n\nGoogle Apps Script client wrapper for the [SWGoH.help](https://api.swgoh.help/swgoh) API.\n\nFor API access and support, please visit us on [Discord](https://discord.gg/kau4XTB).\n\n## Getting Started\n\nWithin your Google document:\n\n1. open  the menu `Resources` and select the option `Libraries...`\n1. add the library by using this script ID `1bMXMdwJmhTBxb4tBMEyEtw3jPVTzMZQz6NZ9Wm5-5b2MPWWFfqJVGa6n` and selecting the latest version\n1. use the following snippet for simple testing:\n\n```javascript\nfunction Test() {\n  // Fill in with your swgoh.help API credentials\n  var settings = {\n     username: \"???\",\n     password: \"???\"\n  };\n  var client = new swgohhelpapi.module.exports.Client(settings);\n  var allycodes = [213176142];\n  var json = client.fetchPlayer({\n    allycodes: allycodes,\n    project: {\n      allyCode: true,\n      name: true,\n      updated: true\n    }\n  });\n  debugger;\n}\n```\n\n## Documentation\n\n[TypeDoc documentation](https://popgoesthewza.github.io/swgoh-help-api/)\n\n## Promotion\n\nThis client is powered by ![alt text](https://www.swgoh.help/img/logo.png \"swgoh.help\").\n\nConsider donating to its [Patreon](https://www.patreon.com/user?u=470177).\n\n\u003e Help us continue to scale and support more players across a wider range of tools! Every dollar helps us to boost resources and increase stability. Your donation will help ensure a continued data stream for your favourite swgoh tools.\n\n## Build your own copy\n\nPrerequisite:\n\n- Have [Google Clasp CLI](https://developers.google.com/apps-script/guides/clasp) installed\n- (Recommended) setup your [TypeScript](https://developers.google.com/apps-script/guides/typescript) IDE\n\n```shell\nnpm install -g @google/clasp typescript\n```\n\nSteps:\n\n1. Make a local copy of the GitHub repository.\n1. run the command `yarn install`\n1. Edit the file `.clasp.json` with the scriptId of your own copy of the Territory Battles spreadsheet\n1. If needed, edit the source `.ts` files under the `src/` directory\n1. Use Clasp CLI to push the transpiled TypeScript into your Google script\n1. (Optional) issue a Pull Request for your changes to be added to the official release\n\n## About the Developer\n\nReach him on [Discord](https://discord.gg/ywzJEaQ)\n\n## Contributions\n\nContributions and feature requests are welcome.\n\n## License\n\n[MIT License](https://github.com/labnol/apps-script-starter/blob/master/LICENSE) (c) Guillaume Contesso a.k.a. PopGoesTheWza","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopgoesthewza%2Fswgoh-help-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpopgoesthewza%2Fswgoh-help-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpopgoesthewza%2Fswgoh-help-api/lists"}