Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
/ Roblox.NET Public archive

An unofficial asynchronus C# API for interacting with http://api.roblox.com

License

Notifications You must be signed in to change notification settings

REdgars/Roblox.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RobloxNET

An unofficial asynchronus C# API for interacting with http://api.roblox.com

Nuget Downloads License

Features

  • Get group information.
  • Get marketplace product information.
  • Get an user's friends information.
  • Get an user's information.
  • Read the wiki for all features.

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

Releases

No releases published

Packages

No packages published

Languages