1.3.0 • Published 3 years ago
@timcoates/bc-users v1.3.0
bc-users
Retrieves users of a club where members are managed via British Cycling's Club Manager tool.
Installation
npm install @timcoates/bc-users
Prerequisites
You need the following details to use this package:
- A British Cycling Membership number.
- The password for that Membership number, used to log in here.
- The Club ID, as found when searching for the club here.
NB: The membership number must have access to the Club Membership details here: https://www.britishcycling.org.uk/dashboard/club/membership?club_id= (Club ID goes here).
Useful links
Usage
Installation
npm install @timcoates/bc-usersUse
let BCClient = require("@timcoates/bc-users");
let logging = true; // Optional. Defaults to no logging.
let client = new BCClient([username], [password], logging);
let result = await client.authenticate();
if(result) {
let people: structures.bcPerson[] = await client.getMembers([BC_CLUBID]);
// people is now an array of the club members' details.
}1.3.0
3 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.10
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago