Roblox.NET 1.0.2

Suggested Alternatives

Robloxdotnet

Additional Details

Starting on May 22, 2023, api.roblox.com will be deprecated and no longer be reachable. https://devforum.roblox.com/t/sunsetting-apirobloxcom-on-may-22-2023/2324429

dotnet add package Roblox.NET --version 1.0.2                
NuGet\Install-Package Roblox.NET -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Roblox.NET" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Roblox.NET --version 1.0.2                
#r "nuget: Roblox.NET, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Roblox.NET as a Cake Addin
#addin nuget:?package=Roblox.NET&version=1.0.2

// Install Roblox.NET as a Cake Tool
#tool nuget:?package=Roblox.NET&version=1.0.2                

RobloxNET

An unofficial asynchronus C# API for interacting with http://api.roblox.com Full documentation at https://github.com/REdgars/Roblox.NET

Features

  • Get group information.
  • Get marketplace product information.
  • Get an user's friends information.
  • Get an user's information.

Code Examples


Getting information of a group

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);
}

Getting information of a product in the marketplace

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);
}

Getting an users information

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);
}
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 1,644 5/11/2019 1.0.2 is deprecated because it is no longer maintained.

Commented functions