Access GamerSafe API from PHP?

7 posts (showing 1-7)
iggyvolz

Market Level 0Community Level 1
42 posts

Is it possible to access the GamerSafe API from other languages such as PHP?  I'd like to do things like:

  • Perform manual checks of data (e.g. if you have 3 plays and you won 5738 there's something wrong
  • Do data backups (I'm not saying that GamerSafe will go down, but I mean that we might have an error in the game that may corrupt save files)
  • Perform upgrades (e.g. we may have to update the structure of the Levels API)
  • Get data for our website (e.g. display high scores, get statistical averages)
posted 2014-03-22T18:10:37-07:00
iggyvolz

Market Level 0Community Level 1
42 posts

Bump...

posted 2014-03-31T02:03:12-07:00
FGL_Devault

FGL AdminCommunity Level 3
246 posts

Right now there are no plans to support PHP or other server-side languages. If anything, we'll probably end up supporting Unity, OpenFL/Haxe or HTML5 next. There's actually an alpha version for Unity support, but it's been on hold for almost a year.

posted 2014-04-01T23:03:23-07:00
iggyvolz

Market Level 0Community Level 1
42 posts

Darn...

If we were able to create an API by reverse-engineering the FGLAds SWF, would we be able to distribute and use it?

posted 2014-04-02T22:10:59-07:00 | edited 2014-04-02T22:13:53-07:00
iggyvolz

Market Level 0Community Level 1
42 posts

whoops, meant to say the GamerSafe SWF

posted 2014-04-02T22:20:07-07:00
FGL_Devault

FGL AdminCommunity Level 3
246 posts

I think it might be faster to build a management SWF that lets you do these things through the existing API. Why use PHP, exactly? You can use the Data Bridge to do your fourth bullet, but I'd recommend using Flash for the first three.

posted 2014-04-02T23:42:29-07:00
iggyvolz

Market Level 0Community Level 1
42 posts

I was planning on running this as a cron job, and I don't know if any cron job providers can run Flash.

I didn't know about the Data Bridge before, that looks nice and I think that will do the trick!  Thank you very much!

posted 2014-04-02T23:56:37-07:00