Code Monkey home page Code Monkey logo

mee6levelsapi's Introduction

Mee6LevelsAPI

Mee6 Levels API Wrapper for .NET

Uses Newtonsoft.Json as a reference.

How to retrieve user info:

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:

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.

Mee6.Limit = 500;//It will load now 500 members

The library is pretty straightforward to use, and has a JSON-like structure.

mee6levelsapi's People

Contributors

adryzz avatar thekrush avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.