Page 1 of 1

Access to BGA API for external application

Posted: 02 November 2020, 11:21
by SlevinWAT
Hello,

I am currently thinking about creating a mobile application to get notified when it is my turn to play (asynchronous games).

Email notifications aren't satisfying to me because of my email usage and the pace I check them.

To know where I must play, I have currently some conversation on Messaging App that have nothing to do with BGA, with people I am used to play with.

Everytime we play, we mention the name of the next player, it is quite boring to maintain notifications manually. Notification Push aren't necessary available on mobile browser, which is the case for most people I play with.

What I would like to do is build a small minimalist application that allow people to connect to BGA and that will check when the user should play, then trigger a mobile notification about it. I would like to make it simple and with small possible configuration.

The code would be open sourced. Even though my goal is to use it with my friends.

So my question is:

Is there a way to retrieve an authorization token as an external app and play with BGA API to build such a tool ? :)

Thank you very much and have a good day :)

SlevinWAT.

Re: Access to BGA API for external application

Posted: 02 November 2020, 11:44
by RicardoRix
There is no API that I know of.

There is this:
https://boardgamearena.com/preferences? ... ifications

Re: Access to BGA API for external application

Posted: 05 November 2020, 10:06
by SlevinWAT
Thanks for answering.

The actual notifications possibilities are not suitable to me (I don't want emails).

I guess I should try to reverse engineer the auth system and use it in my app :| .

Re: Access to BGA API for external application

Posted: 05 November 2020, 11:50
by Een
Webpush notifications are meant to provide an alternative to email notifications relying on standards.

Please see viewtopic.php?f=10&t=13246

(This should work on most platforms/browsers but yes, some browser vendors didn't implement this, you could decide to bug them about it if you care ;) it could actually happen soon if some sources are to be believed: https://onesignal.com/blog/the-state-of ... h-in-2020/)

Re: Access to BGA API for external application

Posted: 04 December 2020, 11:24
by SlevinWAT
I see, thanks for this.

It is then the choice of my mobile browser that will make the feature available to me and my friend. No need/wish to develop something on top of it then, I understand it is a overkill to put efforts into this :)

Have a good day !