@cloudlyteam/cloudlyapi.js

1.0.5 • Public • Published

CloudlyAPI.js

Instalation

$ npm i @cloudlyteam/cloudlyapi.js --save

Use

const cloudlyapi = require("@cloudlyteam/cloudlyapi.js");

Methods

  • getNameHistory

--- Get minecraft name history

--- Get the UUID of the minecraft player

--- Get the Skin/Head/Body URL of the minecraft player

const { getNameHistory } = cloudlyapi;

getNameHistory("Username", (callback));

// Example

getNameHistory("iRickzX8", (err, data) => {
  if(err) return console.log(err);
  console.log(data);
})

// Output

 {
   names: [
     { name: 'RickZeir', changedToAt: '0' },
     { name: 'ImRickz_', changedToAt: '1574817160000' },
     { name: 'iRickxz_', changedToAt: '1577512065000' },
     { name: 'iRickzX8', changedToAt: '1581100732000' }
   ],
   latestName: 'iRickzX8',
   playerUUID: '18d299f2cb4e4be19c6f329a40745426',
   bodyURL: 'https://minotar.net/armor/body/18d299f2cb4e4be19c6f329a40745426/2048.png',
   headURL: 'https://minotar.net/helm/18d299f2cb4e4be19c6f329a40745426/2048.png',
   skinURL: 'https://minotar.net/skin/18d299f2cb4e4be19c6f329a40745426'
}
  • getSteamGame

--- Get information about a Steam game through its ID or name

const { getSteamGame } = cloudlyapi;

// With the ID

getSteamGame.id(ID, (callback));

// With the name

getSteamGame.name("Name", (callback));

// Example

getSteamGame("WarZone", (err, data) => {
  if(err) return console.log(err);
  console.log(data);
});

// Output

{
  name: "WarZone",
  price: null,
  platforms: [ "WINDOWS" ],
  reviews: null,
  languages: "English*\n*languages with full audio support",
  website: null,
  appid: 1084660,
  required_age: null,
  release_date: null,
  background: "https://steamcdn-a.akamaihd.net/steam/apps/1084660/page_bg_generated_v6b.jpg?t=1586010988",
  categories: [
    "Multi-player",
    "Steam Achievements",
    "In-App Purchases",
    "Steam Cloud",
    "Stats"
  ],
  genres: [ "Action", "Early Access" ],
  large_description: "WarZone Large Description",
  short_description: "WarZone Short Description",
  icon: "https://steamcdn-a.akamaihd.net/steam/apps/1084660/header.jpg?t=1586010988",
  requirements: [
    {
      windows: {
        minimum: "Minimum:\n"+
          "OS: Windows 7 SP1 (x64)\n"+
          "Processor: Intel Core i5-2500K CPU\n"+
          "Memory: 2000 MB RAM\n"+
          "Graphics: Geforce GTX 770 or AMD Radeon HD 7870\n"+
          "Network: Broadband Internet connection\n"+
          "Storage: 10000 MB available space"
      }
    }
  ],
  dlcs: null,
  developers: [ 'WeS Cooperation' ],
  publishers: [ 'WeS Cooperation' ],
  copyright: null,
  screenshots: [],
  packages: null,
  movies: null,
  recommendations: null,
  content_descriptors: { ids: [ 2, 5 ], notes: null },
  achievements: null,
  metacritic: null,
  support: { url: "", email: "wesofficialger@gmail.com" },
  controller_support: null,
  type: "game"
}

Changelog

  • 24/08/2020 - v1.0.1
--- Readme & getNameHistory ---
  
- Updates in the Readme
- Change in the response object
- Added more data in the response object
  • 24/08/2020 - v1.0.2
--- getNameHistory ---
- Fixed a minor error
  • 24/08/2020 - v1.0.3
--- Readme ---
- Update in the Readme
  • 25/08/2020 - v1.0.4
--- getSteamGame & Readme ---
- Added the posibility to search an game of Steam through the 
  ID and the name
- Changed the methods zone and added a zone of collaborators was added
  • 25/08/2020 - v1.0.5
--- Readme ---
- Fixed an syntax error

Collaborators

  • ! Yuu ˟ル#4543
  • ZickTronHD#1507
  • Melphi#9547
  • wazzz §#7123

Readme

Keywords

Package Sidebar

Install

npm i @cloudlyteam/cloudlyapi.js

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

17.6 kB

Total Files

9

Last publish

Collaborators

  • rickzdev