jacobhood / Challonge-DotNet

MIT License
2 stars 4 forks source link

Add CreateParticipantsAsync #2

Closed ErwanTLG closed 3 years ago

ErwanTLG commented 3 years ago

The Challonge api provides one endpoint that this project does not use: bulk_add.

This endpoint may have multiple usages: First, it allows the client to reduce the number of api calls, which should increase the application's performance.

Also, it allows the client to submit multiple participants, only if all of them are valid.
From the official documentation:

If an invalid participant is detected, bulk participant creation will halt and any previously added participants (from this API request) will be rolled back.