{"id":28675414,"url":"https://github.com/brandonmanke/node-destiny-2","last_synced_at":"2025-06-13T22:09:41.740Z","repository":{"id":27802403,"uuid":"104687614","full_name":"brandonmanke/node-destiny-2","owner":"brandonmanke","description":":new_moon: A zero dependency Destiny 2 API wrapper written in Node.js ","archived":false,"fork":false,"pushed_at":"2024-06-06T05:51:20.000Z","size":548,"stargazers_count":26,"open_issues_count":6,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-30T10:56:26.027Z","etag":null,"topics":["api","bungie-api","bungie-destiny-api","destiny","destiny-2","destiny-api","nodejs","wrapper"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/node-destiny-2","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/brandonmanke.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":"2017-09-25T00:54:49.000Z","updated_at":"2024-06-06T05:47:43.000Z","dependencies_parsed_at":"2023-01-14T07:31:33.102Z","dependency_job_id":null,"html_url":"https://github.com/brandonmanke/node-destiny-2","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brandonmanke/node-destiny-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmanke%2Fnode-destiny-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmanke%2Fnode-destiny-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmanke%2Fnode-destiny-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmanke%2Fnode-destiny-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonmanke","download_url":"https://codeload.github.com/brandonmanke/node-destiny-2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonmanke%2Fnode-destiny-2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259727152,"owners_count":22902183,"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","bungie-api","bungie-destiny-api","destiny","destiny-2","destiny-api","nodejs","wrapper"],"created_at":"2025-06-13T22:09:36.180Z","updated_at":"2025-06-13T22:09:41.665Z","avatar_url":"https://github.com/brandonmanke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-destiny-2 [![Node.js CI](https://github.com/brandonmanke/node-destiny-2/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/brandonmanke/node-destiny-2/actions/workflows/node.js.yml) [![npm version](https://badge.fury.io/js/node-destiny-2.svg)](https://badge.fury.io/js/node-destiny-2) [![codecov](https://codecov.io/gh/brandonmanke/node-destiny-2/branch/master/graph/badge.svg)](https://codecov.io/gh/brandonmanke/node-destiny-2)\n\n\u003e :new_moon: A zero dependency Destiny 2 API Wrapper written in Node.js \n\n#### Note\n\nThe Destiny 2 API is also still being worked on, so some of the endpoints may not work correctly.\n\n## Getting Started\n\nSuper simple to set up.\n\n```JavaScript\n// Getting API Manifest Example\nconst Destiny2API = require('node-destiny-2');\n\nconst destiny = new Destiny2API({\n  key: 'your-api-key'\n});\n```\n\nGet Destiny Manifest Example:\n\nWith `.then()`/`.catch()`:\n\n```JavaScript\ndestiny.getManifest()\n  .then(res =\u003e console.log(`Manifest: ${res.Response}`))\n  .catch(err =\u003e console.log(`Error: ${err}`));\n```\n\n\nWith `async`/`await`:\n\n```JavaScript\ntry {\n    const res = await destiny.getManifest();\n    console.log(`Manifest: ${res.Response}`);\n} catch (err) {\n    console.log(`Error: ${err}`);\n    throw err;\n}\n```\n\n### Installation\n\nInstall from NPM with: \n\n`npm install node-destiny-2`\n\nOr you can build from source via the [releases](https://github.com/brandonmanke/node-destiny-2/releases).\n\n### Examples\n\nSee `examples` folder for basic function calls. Planning on adding more detailed ones (see [issues](https://github.com/brandonmanke/node-destiny-2/issues) if you want to help)\n\n### Documentation\n\nFor general JSDoc documentation see each file in the `lib` folder. More specifically, `destiny-2-api.js` has fairly detailed documentation for each method call.\n\nFor further reading on the API documentation see the [Official Destiny 2 API Documentation](https://github.com/Bungie-net/api).\n\nSee [issues](https://github.com/brandonmanke/node-destiny-2/issues) if you are interested in helping improve the available documentation. (I am planning on eventually adding some documentation generator based on JSDoc).\n\n## Contributing\n\nIf you see a feature that may need to be added, feel free to send a pull request. Also, feel free to fix or file an [issue](https://github.com/brandonmanke/node-destiny-2/issues) of your own. I will set up a `CONTRIBUTING.md` eventually for code style and a little more information on creating pull requests.\n\n## License\n\nThe code in this repository is licensed under the [MIT License](LICENSE). Unless otherwise specified by 3rd party software.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonmanke%2Fnode-destiny-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonmanke%2Fnode-destiny-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonmanke%2Fnode-destiny-2/lists"}