Homes Femmes Garcons Filles
Garcons: U11 U13 U15 U17 U19
Filles: U11 U13 U15 U17 U19
Garcons: U11 U13 U15 U17 U19
Filles: U11 U13 U15 U17 U19
Hommes ouvert
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=2`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-men', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) Voir plus… |
Femmes ouvert
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=1`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-women', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) Voir plus… |
Garcons U19
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=7`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-boys', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) Voir plus… |
Filles U19
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=14`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-girls', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) Voir plus… |
All Men All Women All Boys All Girls
Boys: U11 U13 U15 U17 U19
Girls: U11 U13 U15 U17 U19
Men
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=2`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-men2', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) View all… |
Women
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=1`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-women2', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) View all… |
Boys U19
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=7`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-boys2', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) View all… |
Girls U19
window.standingsCache = {} const phrases = [ 'university of ' ] const stripPhrases = (string) => phrases.reduce((string, phrase)=> string.replace(phrase,''), string) const preprocess = (string) => stripPhrases(string.toLowerCase()).trim() window.sortByTeamName = (teamOne, teamTwo) => preprocess(teamOne.Teamname).localeCompare(preprocess(teamTwo.Teamname)) window.sortByCustomRating = (a,b) => ((parseInt(a.hGroup) || Infinity) - (parseInt(b.hGroup) || Infinity)); window.renderStandings = ({divisionId, env, filter, sort, divId, results}) => { const data = window.standingsCache[divisionId] || fetch(`https://api.ussquash.com/resources/rankings?RowsPerPage=10&PageNumber=1&Rating_GroupID=20&main=9999&DivisionId=14`, { method: 'get' }).then((response) => response.json()) window.standingsCache[divisionId] = data data //.then((a) => {console.log(a); return a}) .then((response) => (sort ? response.sort(sort) : response) .filter(filter || ((a) => true)) .slice(0, results || Infinity) //Format rows .map(({Fname, Lname, Ranking, PlayerId, PlayerName, }) => `
${Ranking}. ${PlayerName}
`) ) .then((rows) => { document.getElementById(divId).innerHTML = `
` }) .catch(function(err) { throw err }); }
//Call the function renderStandings({ //Specify division divisionId: 10234, //Specify the ID of the div above divId:'csa-girls2', //Specify Various other settings // filter: (team) => team.CollegeTeamType === "Club", // Uncomment to filter by team type // filter: (team) => team.CollegeConferenceType === "Centennial", // Uncomment to filter by conference // sort : sortByTeamName, // Uncomment to order alphabetically sort : sortByCustomRating, // Uncomment to order via custom ranking results: 62, //Uncomment if you want to show just 5 results //Specify Enviroment // env: { api: 'local-api.ussquash.com', website: 'https://local.clublocker.com'} //Local // env: { api: 'dev.ussquash.com', website: 'https://dev.clublocker.com'} //Dev env: { api: 'api.ussquash.com', website: 'https://clublocker.com'} //Live }) View all… |