Download the PHP package silicondigital/roblox without Composer
On this page you can find all versions of the php package silicondigital/roblox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download silicondigital/roblox
More information about silicondigital/roblox
Files in silicondigital/roblox
Download silicondigital/roblox
More information about silicondigital/roblox
Files in silicondigital/roblox
Please rate this library. Is it a good library?
Informations about the package roblox
Roblox Laravel API
Unofficial Roblox API Wrapper for Laravel 9
Installation
Functions
Badges
getBadge(int $badge_id)
- Returns a single badgegetUniverseBadges(int $universe_id, int $limit = 10, string $sort_order = 'Asc')
- Returns badges for a universegetUserBadges(int $user_id, int $limit = 10, string $sort_order = 'Asc')
- Returns badges for a single usergetBadgeAwardedDates(int $user_id, array $badge_ids)
- Returns the awarded dates for an array of badge ids for a user.
Caching Responses
To speed up your application this API provides caching functionality using Laravel's built in cache functions. You'll need to make sure this is configured before using this feature. Laravel Docs: Cache.
All API's will allow you to pass through options for the cache, the key must be unique otherwise it will be overwritten. Typically you should set the key name as what the response will be for example badge_{badge_id}
.
Option | Functionality | Example |
---|---|---|
key_name | A unique key name for the cached response | badge_1234 |
ttl | How long the data will be cached for (in seconds) | 3600 |
tags | An array of tags to append to the cached item | ['badges'] |
Internally the API will prefix the cache key with roblox_
, if you wish to interact with the cached data directly using the Laravel cache facade see the below examples.
All versions of roblox with dependencies
PHP Build Version
Package Version
The package silicondigital/roblox contains the following files
Loading the files please wait ....