MCPcopy Create free account
hub / github.com/codecombat/codecombat / getClan

Function getClan

app/core/api/clans.js:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7export const getUserClans = (userId) => fetchJson(`/db/user/${userId}/clans`)
8
9export const getClan = idOrSlug => fetchJson(`/db/clan/${idOrSlug}`)
10export const getClanBySchool = ncesId => fetchJson(`/db/clan/school/${ncesId}`)
11export const getClanByDistrict = ncesId => fetchJson(`/db/clan/district/${ncesId}`)
12export const getClanByDistrictId = Id => fetchJson(`/db/clan/districtId/${Id}`)

Callers 1

fetchClanFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected