@qgisk/steamresolver
Advanced tools
Comparing version 1.0.6 to 2.0.0
{ | ||
"name": "@qgisk/steamresolver", | ||
"version": "1.0.6", | ||
"version": "2.0.0", | ||
"description": "Steam ID Lookup from custom urls and the other way around", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -34,3 +34,3 @@ # Steam ID Resolver for NodeJS | ||
// Initiate the client | ||
const Resolver = new SteamResolver(); | ||
const Resolve = new SteamResolver(); | ||
@@ -78,4 +78,4 @@ // Create a function that gets the custom url | ||
```javascript | ||
const res = await Resolve.from64ToFull('76561198250920834'); | ||
const res = await Resolve.from64ToFull('https://steamcommunity.com/profiles/76561198250920834'); | ||
const res = await Resolve.from64ToProfile('76561198250920834'); | ||
const res = await Resolve.from64ToProfile('https://steamcommunity.com/profiles/76561198250920834'); | ||
``` | ||
@@ -90,4 +90,4 @@ | ||
```javascript | ||
const res = await Resolve.fromCustomToFull('Demiann'); | ||
const res = await Resolve.fromCustomToFull('https://steamcommunity.com/id/Demiann'); | ||
const res = await Resolve.fromCustomToProfile('Demiann'); | ||
const res = await Resolve.fromCustomToProfile('https://steamcommunity.com/id/Demiann'); | ||
``` | ||
@@ -113,4 +113,4 @@ | ||
```javascript | ||
const res = await Resolve.fromGroupUrlToFull('ROBOTAIM'); | ||
const res = await Resolve.fromGroupUrlToFull('https://steamcommunity.com/groups/ROBOTAIM'); | ||
const res = await Resolve.fromGroupUrlToProfile('ROBOTAIM'); | ||
const res = await Resolve.fromGroupUrlToProfile('https://steamcommunity.com/groups/ROBOTAIM'); | ||
``` | ||
@@ -117,0 +117,0 @@ |
@@ -14,3 +14,2 @@ const fetch = require('isomorphic-unfetch'); | ||
* @public | ||
* @version 1.0.6 | ||
* @license MIT | ||
@@ -49,7 +48,7 @@ */ | ||
* @description From 64 to full information | ||
* @function from64ToFull() | ||
* @function from64ToProfile() | ||
* @param {String} steamID | ||
* @returns {String} | ||
*/ | ||
async from64ToFull(steamID) { | ||
async from64ToProfile(steamID) { | ||
const formattedID = Utils.parseParams(steamID); | ||
@@ -64,7 +63,7 @@ | ||
* @description From custom to full information | ||
* @function fromCustomToFull() | ||
* @function fromCustomToProfile() | ||
* @param {String} customURL | ||
* @returns {String} | ||
*/ | ||
async fromCustomToFull(customURL) { | ||
async fromCustomToProfile(customURL) { | ||
const formattedID = Utils.parseParams(customURL); | ||
@@ -79,3 +78,3 @@ | ||
* @description From group custom url to id | ||
* @function fromCustomToFull() | ||
* @function fromCustomToProfile() | ||
* @param {String} groupURL | ||
@@ -94,7 +93,7 @@ * @returns {String} | ||
* @description From group url to full information | ||
* @function fromCustomToFull() | ||
* @function fromCustomToProfile() | ||
* @param {String} groupURL | ||
* @returns {Promise} | ||
*/ | ||
async fromGroupUrlToFull(groupURL) { | ||
async fromGroupUrlToProfile(groupURL) { | ||
const formattedID = Utils.parseParams(groupURL); | ||
@@ -101,0 +100,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12751
8
213