Closed nirla closed 8 years ago
Well getUser gets you an array of your leagueIds. Then getLeague gets you the leagueObject. I tried to avoid doing APIs that get/set things based on "my"
On 7 בדצמ 2015, at 23:09, nirla notifications@github.com wrote:
in order to display all of 'my leagues' when entering leagues tab there must be way to get all the leagues the user takes part in. something like 'getMyLeagues(clientId)'
I think it will be best to return an array of league objects (anyway it wont be too big).
what do you think ?
— Reply to this email directly or view it on GitHub.
ok makes sense... I'll do it through getUser
Sent from my iPhone
On 8 בדצמ׳ 2015, at 3:13, oreporan notifications@github.com wrote:
Well getUser gets you an array of your leagueIds. Then getLeague gets you the leagueObject. I tried to avoid doing APIs that get/set things based on "my"
On 7 בדצמ 2015, at 23:09, nirla notifications@github.com wrote:
in order to display all of 'my leagues' when entering leagues tab there must be way to get all the leagues the user takes part in. something like 'getMyLeagues(clientId)'
I think it will be best to return an array of league objects (anyway it wont be too big).
what do you think ?
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub.
in order to display all of 'my leagues' when entering leagues tab there must be way to get all the leagues the user takes part in. something like 'getMyLeagues(clientId)'
I think it will be best to return an array of league objects (anyway it wont be too big).
what do you think ?