https://github.com/hepter/vooblyapi-parse
Fetch user & lobby information using Voobly api
https://github.com/hepter/vooblyapi-parse
Last synced: 9 months ago
JSON representation
Fetch user & lobby information using Voobly api
- Host: GitHub
- URL: https://github.com/hepter/vooblyapi-parse
- Owner: hepter
- Created: 2018-11-18T14:47:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T09:07:51.000Z (over 7 years ago)
- Last Synced: 2025-06-21T18:01:51.868Z (12 months ago)
- Language: C#
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Voobly API Parse
This tool is a simple tool that makes it easy for you to get the necessary information via Voobly using api key.
# Usage
Create Instance
```
VooblyAPI vapi = VooblyAPI.getInstance();
```
This only necessary if the user needs to obtain a profile picture.
```
vapi.createVooblySession("VOOBLY_API_KEY", "VooblUsername", "passwd");
```
Other usage
```
vapi.createVooblySession("VOOBLY_API_KEY");
```
Getting Lobbies
```
Lobby[] lobbies = vapi.getLobbies();
```
Finding required lobby and getting third Ladder(RM 1v1) via LinQ
```
int rmLadderid = lobbies.Where(a => a.Name == "RM/DM - Medieval Siege").Single().Ladders[2];
```
Searcing UserID by Name and getting ladder information.
```
int rmRate = vapi.getLadder(rmLadderid, vapi.findUsers("hepter")[0].Uid)[0].Rating;
```