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!
Documentation · OpenCloud Guide · Legacy Guide
- 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.
go get -u github.com/luckfire/gobloxpackage 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)
}| 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 | ✅ |
| 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 | 🚧 |