Starting on May 22, 2023, api.roblox.com will be deprecated and no longer be reachable, this means that this project too will not be working anymore.
An unofficial asynchronus C# API for interacting with http://api.roblox.com
- Get group information.
- Get marketplace product information.
- Get an user's friends information.
- Get an user's information.
- Read the wiki for all features.
using (RobloxGroups robloxGroups = new RobloxGroups())
{
RGroup rGroup = await robloxGroups.GetGroupInfoAsync(1234567890);
Console.WriteLine("Name: {0}", rGroup.Name);
Console.WriteLine("First role: {0}", rGroup.Roles[0].Name);
Console.WriteLine("Owner: {0}", rGroup.Owner.Name);
}
using (RobloxMarketplace robloxMarketplace = new RobloxMarketplace())
{
RProductInfo productInfo = await robloxMarketplace.GetProductInfoAsync(123456789);
Console.WriteLine("AssetId: {0}", productInfo.AssetId);
Console.WriteLine("Price: {0}", productInfo.PriceInRobux);
Console.WriteLine("Creator: {0}", productInfo.Creator.Name);
}
using (RobloxUsers robloxUsers = new RobloxUsers())
{
RUser rUser = await robloxUsers.GetUserAsync(123456789);
RUser rUser2 = await robloxUsers.GetUserAsync("username");
Console.WriteLine("Username: {0}", rUser.Username);
Console.WriteLine("Id: {0}", rUser2.Id);
}