Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adryzz/mee6levelsapi
Mee6 Levels API Wrapper for .NET
https://github.com/adryzz/mee6levelsapi
discord discord-bot mee6 mee6-level
Last synced: 7 days ago
JSON representation
Mee6 Levels API Wrapper for .NET
- Host: GitHub
- URL: https://github.com/adryzz/mee6levelsapi
- Owner: adryzz
- Created: 2020-11-30T00:40:14.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T20:29:14.000Z (over 2 years ago)
- Last Synced: 2023-03-06T13:53:09.559Z (over 1 year ago)
- Topics: discord, discord-bot, mee6, mee6-level
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mee6LevelsAPI
Mee6 Levels API Wrapper for .NETUses [Newtonsoft.Json](https://www.newtonsoft.com/json) as a reference.
How to retrieve user info:
```C#
Mee6UserInfo info = Mee6.GetUserInfo(105753365916422144, 509442538378100736);//these are guild ID and user ID. change them
Console.WriteLine($"The user {user.Username} is at level {info.Level}.");
```if you need to retrieve multiple users' info:
```C#
Mee6UserInfo[] info = Mee6.GetServer(105753365916422144).Users;//this is guild ID
```
By default, this library will search up to 1000 users. if you want to load less than 1000 users, do this. the public API can access up to 1000 members, so there's that.**Edit: they either changed it or something, but i am able to load more than 1000 users on a premium server using the public API.**
```C#
Mee6.Limit = 500;//It will load now 500 members
```The library is pretty straightforward to use, and has a JSON-like structure.