1.3.0 • Published 1 year 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
1 year ago
1.2.0
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.10
1 year ago
1.0.8
1 year ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago