Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
Albie edited this page Mar 21, 2020 · 12 revisions

Dragon6 API takes the complication of Ubisoft's stats system and strips it down into an easy to follow sequence of events:

  1. Create your own Dragon6Client with an override for getting the token - this should be preserved as a single instance for the lifetime of the process (using it as a Singleton service is the best way to do this)
  2. Use said instance of your Dragon6Client to lookup a user (by name, platform id or user id) through the extension methods GetUser() or GetUsers()
  3. Use User's AccountInfo to lookup stats (via the client instance and the extension methods)
  4. Token expires and this starts again

If the extension methods don't quite achieve what you want to do, you can create your own custom requests and pass them through the Dragon6Client

Clone this wiki locally