Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/batteredbunny/roblox-account-value-api
Roblox account value API
https://github.com/batteredbunny/roblox-account-value-api
api collectibles roblox
Last synced: 5 days ago
JSON representation
Roblox account value API
- Host: GitHub
- URL: https://github.com/batteredbunny/roblox-account-value-api
- Owner: BatteredBunny
- Created: 2023-04-30T22:55:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-27T16:43:38.000Z (3 months ago)
- Last Synced: 2024-11-02T13:50:24.388Z (12 days ago)
- Topics: api, collectibles, roblox
- Language: Go
- Homepage: https://roblox-account-value-api.sly.ee
- Size: 33.2 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Roblox account value api
## Simple companion API for the [web app](https://roblox-account-value.sly.ee/)
This is needed as browser itself can't do many of the requests to roblox so a proxy of sorts is needed.
# Recommended usage
The recommended way to use this is to use the nixos module, though there is a docker image with docker-compose.yml as well.# Building docker image with nix
```
nix run github:BatteredBunny/roblox-account-value-api#docker.copyToDockerDaemon
```# Running as service on nixos
```nix
# flake.nix
inputs = {
roblox-account-value-api.url = "github:BatteredBunny/roblox-account-value-api";
};
``````nix
# configuration.nix
imports = [
inputs.roblox-account-value-api.nixosModules.default
];services.roblox-account-value-api = {
enable = true;
settings.port = 8080;# Optional parameters
package = inputs.roblox-account-value-api.packages.${builtins.currentSystem}.default;
settings.robux_per_euro = 60;
};
```# Building standalone program with nix
```
nix build github:BatteredBunny/roblox-account-value-api
```# API
Handy info for utilizing the api yourself
## Account collectibles value API```
GET https://roblox-account-value-api.sly.ee/api/collectibles-account-value?userid=XXX
{
"total_robux": 0,
"in_euro": 0,
"collectibles": [
"name": "Collectibles",
"price": 0,
"id": 0,
"serialnumber": 0,
"thumbnail": "https://tr.rbxcdn.com/"
]
}
```## Can view inventory API
```
GET https://roblox-account-value-api.sly.ee/api/can-view-inventory?userid=XXX
true
```## Profile info API
```
GET https://roblox-account-value-api.sly.ee/api/profile-info?userid=XXX
{
"username": "username",
"displayname": "displayname",
"avatar": "https://tr.rbxcdn.com/avatar"
}
```## Exchange Rate API
Used for calculating currency value
```
GET https://roblox-account-value-api.sly.ee/api/exchange-rate
{
"robux_per_euro": 60
}
```