{"id":28581212,"url":"https://github.com/hormold/pubg","last_synced_at":"2025-07-18T11:36:02.614Z","repository":{"id":137441185,"uuid":"87963262","full_name":"Hormold/pubg","owner":"Hormold","description":" Playerunknown’s Battlegrounds Websocket API example. Feel free to ask questions in Discord: Hormold#0683","archived":false,"fork":false,"pushed_at":"2020-10-01T16:46:37.000Z","size":335,"stargazers_count":125,"open_issues_count":14,"forks_count":36,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-11T04:16:29.875Z","etag":null,"topics":["api","battlegrounds","playerunknown","pubg","websocket"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hormold.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-11T17:49:12.000Z","updated_at":"2024-10-28T03:12:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f02a075-aabb-4aec-aa4a-ee28ac61255d","html_url":"https://github.com/Hormold/pubg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hormold/pubg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hormold%2Fpubg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hormold%2Fpubg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hormold%2Fpubg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hormold%2Fpubg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hormold","download_url":"https://codeload.github.com/Hormold/pubg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hormold%2Fpubg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265751706,"owners_count":23822819,"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","battlegrounds","playerunknown","pubg","websocket"],"created_at":"2025-06-11T04:16:21.893Z","updated_at":"2025-07-18T11:36:01.257Z","avatar_url":"https://github.com/Hormold.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pubg\n Playerunknown’s Battlegrounds Websocket API example\n\n\nWARNING: READ GNU General Public License v3 (GPL-3)  \n\n\n\nDeps: npm install ws underscore express body-parser\n\n\n\nHow to get ticket (aka access token aka password?):\n\n1) Run wireshark, filter by: tcp.port == 81 \u0026\u0026 http\n\n2) Run game and wait for loading menu (lobby)\n\n3) Looking for something like \"/userproxy?provider=steam\u0026..\" in wireshark and open it (by left click)\n\n4) Copy Value from middle frame, it's must be more 450 symbols (468 for me)\n\nYou can found full lenght ticket in \"Request URI Query Parameter\",press right mouse -\u003e copy -\u003e value and remove \"ticket=\"\n\n\n\nTicket will dead after few minutes in offline (sure, maybe ip change need to regenerate token). OR it maybe works while you in game.\n\nYou need start game again and get ticket again.\n\nYou can be connected with out any problems for few hours and do fast restarts if u need this. \n\nNot possible to play while connected from this script (not sure about real play, but you will be kicked from lobby by double connection)\n\n\n\nMore methods here: https://gist.github.com/Hormold/92fbb9733eb9c9f0fef9adf0e0750bc7\n\nIf you will found how to generate token from engine - it'll be cool!\n\nLook at the menu(lobby) source code here: http://front.battlegroundsgame.com/app/2017.04.06-4/app.js\n\nGet more info about game protocol using Wireshark and filter: (websocket)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhormold%2Fpubg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhormold%2Fpubg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhormold%2Fpubg/lists"}