Skip to content
LuckFirePublic

About

A Roblox API wrapper written in Golang.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

140 Commits

Folders and files

Repository files navigation

goblox Goblox logo

Easily integrate Roblox's OpenCloud & legacy APIs into your Go projects.

Caution

While this library is used in some production deployments, it is not considered fully stable. If you want to contribute, feel free to open a PR!

Go Reference Go Version License: GPL v3

Documentation · OpenCloud Guide · Legacy Guide

Features

  • Support for all OpenCloud APIs.
  • Easily authenticate with cookies, api keys, and oauth2 tokens.
    • CSRF tokens automatically get handled when using cookies.
    • Authentication is checked per-endpoint to prevent the wrong credential types from being used.
    • API keys and Oauth2 tokens optionally support being introspected to prevent invalid requests from being sent from missing scopes.
  • Automatic rate limit retrying, enabled by default.

Installation

go get -u github.com/luckfire/goblox

Quick Start (OpenCloud)

package main

import (
    "context"
    "fmt"

    "github.com/luckfire/goblox/opencloud"
)

func main() {
    client := opencloud.NewClient().WithAPIKey("YOUR_API_KEY")

    user, _, err := client.Users.GetUser(context.TODO(), "1")
    if err != nil {
        panic(err)
    }

    fmt.Printf("User: %s\n", user.Name)
}

Current Coverage

opencloud

Service Status Service Status
Ads ✅ Luau Execution ✅
Analytics ✅ Matchmaking ✅
Assets ✅ Monetization ✅
Badges ✅ Places ✅
Config ✅ Secrets ✅
Creator Store ✅ Server Management ✅
Data & Memory Stores ✅ Service Efficiency ✅
Events ✅ Thumbnails ✅
Groups ✅ Universes ✅
Localization ✅ Users ✅

legacy

Service Status Service Status
Account Information 🚧 Groups Moderation 🚧
Account Settings 🚧 Inventory 🚧
Ad Configuration 🚧 Item Configuration 🚧
Ads 🚧 Locale 🚧
Asset Delivery 🚧 Localization Tables 🚧
Auth 🚧 Notifications 🚧
Avatar 🚧 Premium Features 🚧
Badges ✅ Presence ✅
Billing 🚧 Private Messages 🚧
Catalog 🚧 Publish 🚧
Chat 🚧 Search 🚧
Contacts 🚧 Text Filter 🚧
Develop 🚧 Thumbnails ✅
Economy 🚧 Trades 🚧
Economy Creator Stats 🚧 Translation Roles 🚧
Engagement Payouts 🚧 Translations 🚧
Followings 🚧 Two-Step Verification 🚧
Friends ✅ User Moderation 🚧
Game Internationalization 🚧 Users ✅
Game Join 🚧 Voice 🚧
Game Persistence 🚧
Games ✅
Groups 🚧

About

A Roblox API wrapper written in Golang.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Sponsor this project

Used by

Contributors

Languages