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-users
Use
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
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.10
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago