dogeblox
v1.0.2
Published
A API wrappper for roblox.
Downloads
2
Readme
What is DogeBlox?
DogeBlox is a api wrapper for roblox apis, This also has support for RoVer and bloxlink.
this API Wrapper is UNOFFICIAL.
Installation
To give dogeblox a try, run this command.
npm i dogeblox
and then put this in your script
const dogeblox = require('dogeblox')
Documentation
Get game's info
Finds the universe id for specified game id, Then it will return a table of information. (a large table)
const gameinfo = await dogeblox.PlaceInfo('2313058949')
Return output VVV
{
id: 2313058949,
rootPlaceId: 'rootPlaceId property disabled by package. (use the id variable)',
name: 'Tornado Alley Ultimate',
description: 'THE ULTIMATE SURVIVAL GAME! Tornado Alley Ultimate is the pinnacle of ROBLOX natural disaster survival experiences with over 40 massive maps, tons of gamemodes, and intensely realistic natural disasters. Mother Nature gives no mercy.\r\n' +
'\r\n' +
'🗺️ Survive on massive maps with varieties of settings! From sprawling cities to tropical islands - so much to explore!\r\n' +
'💰 Earn coins by surviving crazy natural disasters!\r\n' +
'🛒Upgrade your player with shop items, upgrades, effects, and more!\r\n' +
'😈 Summon tons of different natural disasters for your friends and foes to survive!\r\n' +
'🌪️ Over 26 tornado-based gamemodes! Survive tons of tornadoes with certain abilities and powers th at up the challenge!\r\n' +
'🌀 Experience rare disaster phenomena like Super Tsunamis, Super Volcanoes, CAT 5 Hurricanes, and even the end of the world!\r\n' +
'\r\n' +
'🕹️ Join the Tornado Alley Community group to earn an 100 extra coins per survival!\r\n' +
'\r\n' +
'🔔 Follow to stay notified for new updates! 🔔',
creator: {
id: 4404391,
name: 'Tornado Alley Community',
type: 'Group',
isRNVAccount: false
},
price: null,
allowedGearGenres: [ 'All' ],
allowedGearCategories: [],
isGenreEnforced: true,
copyingAllowed: false,
playing: 195,
visits: 23598126,
maxPlayers: 22,
created: '2018-09-03T20:30:42.14Z',
updated: '2021-11-10T01:47:12.613Z',
studioAccessToApisAllowed: false,
createVipServersAllowed: false,
universeAvatarType: 'MorphToR15',
genre: 'All',
isAllGenre: true,
isFavoritedByUser: false,
favoritedCount: 235772,
thumbnail: 'https://t1.rbxcdn.com/faff589e3704ad426a14cfb2e5c21316'
}
Return output ^^^
Discord To ROBLOX
Uses external discord services like rover and bloxlink to check the discord user's profile, Helps with discord bots.
const robloxinfo = await dogeblox.DiscordToRoblox('690438785866924052') // { type: 'rover', username: 'aly1263', id: 72121088 }
// if username is not verified on bloxlink or rover, it will return { success: false, message: 'No bloxlink or rover account is linked to (id)' }
Username conversion
Self explanitory. Sadly this can't support display names since ROBLOX's api has never provided this.
// Id to Name
const username = await dogeblox.IdToName(24941) // david.baszucki
// Name to Id
const id = await dogeblox.NameToId("david.baszucki") // 24941
User Description
Gets a user's description, Must be a valid user.
const desc = await dogeblox.getDescription(1)
// Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help
User banned status
Sees if a user is banned from ROBLOX.
const banned = await dogeblox.getBannedStatus(1179) // true