{"id":23297278,"url":"https://github.com/yllanos/customurl2steamid64","last_synced_at":"2026-05-02T02:40:02.778Z","repository":{"id":57211181,"uuid":"53967160","full_name":"yllanos/customurl2steamid64","owner":"yllanos","description":"VERY simple nodeJS module to get a user's steamID64 based on customURL. No API key needed","archived":false,"fork":false,"pushed_at":"2016-08-16T12:43:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T19:53:41.106Z","etag":null,"topics":["customurl","javascript","nodejs","steam","steam-web","steamapi","steamid64"],"latest_commit_sha":null,"homepage":"","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/yllanos.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":"2016-03-15T18:04:03.000Z","updated_at":"2023-04-11T15:18:39.000Z","dependencies_parsed_at":"2022-09-01T04:22:26.640Z","dependency_job_id":null,"html_url":"https://github.com/yllanos/customurl2steamid64","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yllanos/customurl2steamid64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllanos%2Fcustomurl2steamid64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllanos%2Fcustomurl2steamid64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllanos%2Fcustomurl2steamid64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllanos%2Fcustomurl2steamid64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yllanos","download_url":"https://codeload.github.com/yllanos/customurl2steamid64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllanos%2Fcustomurl2steamid64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["customurl","javascript","nodejs","steam","steam-web","steamapi","steamid64"],"created_at":"2024-12-20T07:16:45.285Z","updated_at":"2026-05-02T02:40:02.749Z","avatar_url":"https://github.com/yllanos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# customurl2steamid64\nVERY simple NodeJS module to get a user's steamID64 based on customURL. No API key needed.\n\n### What's this for?\nThis module will allow you to get the SteamID64 for any Steam player, as long as the target profile is public.\n\n### But why?\nI couldn't find this utility for a project I'm working on, so I decided to write it myself and learn some NodeJS in the process.\n\n### Is this officially supported?\nNot by Valve Software by any means. I'm just a fan. I'll try to support development of this library for as long as I can\n\n### Cloning\n    $ git clone https://github.com/yllanos/customurl2steamid64.git\n\n### Installing\nUsing [npm](https://www.npmjs.com/):\n\n    $ npm install customurl2steamid64\n\n### Testing\n    $ node test.js\n\n(You should get this number on your console):\n    76561198008252756\n\nYou could also alter [this file](../blob/master/test.js) on variable 'username' to whatever Steam user you wish to test\n\n### Integration example (steam-web)\nUsing the test file above as template, we are going to integrate with the [steam-web](https://www.npmjs.com/package/steam-web) library. Please update your code with your own API key\n\n    var getSteamID64 = require('../lib/steamid64');\n    var steam = require('steam-web');\n\n    var username = 'yllanos';\n    var baseURL = \"http://steamcommunity.com/id/\";\n    var URL = baseURL + username +  \"/?xml=1\";\n\n    var s = new steam({\n      apiKey: 'XXXXXXXXXXXXXXXX', // \u003c\u003c--PROVIDE API KEY HERE\n      format: 'json' //optional ['json', 'xml', 'vdf']\n      });\n\n    /**\n    * Example implementing steam-web\n    * If you want to test a different user, just edit the 'username' variable as needed\n    * Don't forget to add your own Steam API key\n    * 'result' variable represents the value to be integrated into your application\n    * @param {string} URL - Full URL profile for specific user.\n    */\n    getSteamID64(URL)\n    .then(function (result) {\n\n        s.getPlayerSummaries({\n          steamids: [result],\n          callback: function(err, data) {\n            console.log(data[\"response\"][\"players\"]);\n          }\n        })\n      })\n    .catch(function (reason) {\n        console.error(\"%s; %s\", reason.error.message, reason.options.url);\n        console.log(\"%j\", reason.response.statusCode);\n        return reason.error.message;\n    });\n\nWhen the code above is executed, you should get something like:\n\n    [ { steamid: '76561198008252756',\n        communityvisibilitystate: 3,\n        profilestate: 1,\n        personaname: 'Soyvideojuegos',\n        lastlogoff: 1458067862,\n        profileurl: 'http://steamcommunity.com/id/yllanos/',\n        avatar: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/36/3695d435209ad73d6ed0f720ac68f5c809a8e514.jpg',\n        avatarmedium: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/36/3695d435209ad73d6ed0f720ac68f5c809a8e514_medium.jpg',\n        avatarfull: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/36/3695d435209ad73d6ed0f720ac68f5c809a8e514_full.jpg',\n        personastate: 0,\n        realname: 'Yamil Llanos',\n        primaryclanid: '103582791434470617',\n        timecreated: 1237920338,\n        personastateflags: 0,\n        loccountrycode: 'CO',\n        locstatecode: '04',\n        loccityid: 10644 } ]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllanos%2Fcustomurl2steamid64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyllanos%2Fcustomurl2steamid64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllanos%2Fcustomurl2steamid64/lists"}