{"id":16835012,"url":"https://github.com/phillipj/node-plex-api-headers","last_synced_at":"2025-03-22T04:30:50.226Z","repository":{"id":35391517,"uuid":"39655428","full_name":"phillipj/node-plex-api-headers","owner":"phillipj","description":"HTTP headers for plex-api and related modules","archived":false,"fork":false,"pushed_at":"2022-12-11T21:03:15.000Z","size":1137,"stargazers_count":3,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T08:11:19.288Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phillipj.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":"2015-07-24T20:22:28.000Z","updated_at":"2024-03-04T22:13:13.000Z","dependencies_parsed_at":"2023-01-15T19:56:33.589Z","dependency_job_id":null,"html_url":"https://github.com/phillipj/node-plex-api-headers","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillipj%2Fnode-plex-api-headers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillipj%2Fnode-plex-api-headers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillipj%2Fnode-plex-api-headers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phillipj%2Fnode-plex-api-headers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phillipj","download_url":"https://codeload.github.com/phillipj/node-plex-api-headers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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":[],"created_at":"2024-10-13T12:08:42.050Z","updated_at":"2025-03-22T04:30:49.921Z","avatar_url":"https://github.com/phillipj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plex-api-headers [![Build Status](https://api.travis-ci.org/phillipj/node-plex-api-headers.png)](http://travis-ci.org/phillipj/node-plex-api-headers)\n\nHelper module providing HTTP headers used by [plex-api](https://www.npmjs.com/package/plex-api) and related modules.\n\nReturns an object of headers to be used when requesting Plex related services.\n\n## Usage\n\n```js\nvar PlexAPI = require('plex-api');\nvar headers = require('plex-api-headers');\n\nvar client = new PlexAPI('localhost');\n\nvar httpHeaders = headers(client);\n// -\u003e { 'X-Plex-Device-Name': 'Node.js App', ... }\n\n// additional headers might be provided\nvar jsonHeaders = headers(client, { 'Accept': 'application/json' });\n```\n\n## Contributing\n\nContributions are more than welcome! Create an issue describing what you want to do.\nIf that feature is seen to fit this project, send a pull request with the changes accompanied by tests.\n\n## License\n(The MIT License)\n\nCopyright (c) 2015-2018 Phillip Johnsen \u0026lt;johphi@gmail.com\u0026gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillipj%2Fnode-plex-api-headers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphillipj%2Fnode-plex-api-headers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillipj%2Fnode-plex-api-headers/lists"}