Api wrapper for Geometry Dash. Made by me and my team, 100% made in TypeScript.
$ npm install geometry-dash.js
// Gets user from its account ID
const user = await getUserFromAccountID({ id: '13976093' })
const me = new Client()
await me.login({ username: 'Aneks', password: 'UmGnomoEstavaAndandoEncimaDoAsfalto' })
await me.postProfileComment({ comment: 'Colon is a Furry' })
await me.postLevelComment({ id: '75206202', comment: 'This is too easy', percent: 100 })
const comments = await getCommentsFromPlayerID({ playerID: '1234567' }) // Add page: "page number" for specific page. Default is 0
const friends = me.relationships.friends
const blocked = me.relationships.blockedUsers
const friendRequests = me.relationships.friendRequests
const robtopFriendRequest = friendRequests.filter((rqst: FriendRequest) => { return rqst.user.username == 'RobTop' })
const nexusFriendRequest = friendRequests.filter((rqst: FriendRequest) => { return rqst.user.username == 'Nexus' })
if(nexusFriendRequest) await nexusFriendRequest.accept()
if(robtopFriendRequest) await robtopFriendRequest.accept()