danielwerg / r6api.js

🍫 Node.js wrapper around Rainbow Six Siege APIs
https://npm.im/r6api.js
MIT License
109 stars 19 forks source link

Method names inverted? #1

Closed LaxisB closed 5 years ago

LaxisB commented 5 years ago

The main methods are called getById and getByName
the first takes a name though, and the second an id.

It seems the names are either flipped, or should be called getId and getName

danielwerg commented 5 years ago

fixed, changed it to getId and getUsername