Iam Posted July 28, 2014 Share Posted July 28, 2014 Is there an API for McCodes? So we can implement something into C+? Quote Link to comment Share on other sites More sharing options...
sniko Posted July 28, 2014 Share Posted July 28, 2014 Is there an API for McCodes? So we can implement something into C+? There isn't. I was building one with the McCodes team, but things changed and I had to readjust my schedule, resulting in it being dead. Just out of curiosity; What endpoints are needed? Quote Link to comment Share on other sites More sharing options...
Iam Posted July 28, 2014 Author Share Posted July 28, 2014 I am looking for player stats, perhaps doing some crimes in the program, but eventually the in and outcome of an exchange (which needs to be written i guess). Quote Link to comment Share on other sites More sharing options...
sniko Posted July 28, 2014 Share Posted July 28, 2014 I am looking for player stats, perhaps doing some crimes in the program, but eventually the in and outcome of an exchange (which needs to be written i guess). Ah, then take a look at milk :) Quote Link to comment Share on other sites More sharing options...
peterisgb Posted July 28, 2014 Share Posted July 28, 2014 Ah, then take a look at milk :) I've been looking forward to this myself. cant wait. Quote Link to comment Share on other sites More sharing options...
Iam Posted July 28, 2014 Author Share Posted July 28, 2014 Ah ok, i am not a coder and i saw the milk part, but can somebody explain to me in micky mouse language what the benefit is for me (as a non coder?) [MENTION=65371]sniko[/MENTION], i have added you on my Skype Quote Link to comment Share on other sites More sharing options...
sniko Posted July 28, 2014 Share Posted July 28, 2014 Ah ok, i am not a coder and i saw the milk part, but can somebody explain to me in micky mouse language what the benefit is for me (as a non coder?) [MENTION=65371]sniko[/MENTION], i have added you on my Skype It'll act as a module manager, with vanity URLs (IIRC), so you could take a REST approach to it, effectively creating an API layer for your application - just like you need. :) Quote Link to comment Share on other sites More sharing options...
Dave Posted July 28, 2014 Share Posted July 28, 2014 It'll act as a module manager, with vanity URLs (IIRC), so you could take a REST approach to it, effectively creating an API layer for your application - just like you need. :) What he said! Milk has been pushed back slightly due to some other commitments. I promise I'll finish it with all it's milky goodness one day! Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted July 28, 2014 Share Posted July 28, 2014 Hopefully I am understanding what you want but if you notice in your globals.php file you have the variable $ir declared in there which grabs the players stats and all info in the users table for that particular user, with that you can mimic it a bit and parse it using json then you can use that with any language. [MENTION=65371]sniko[/MENTION] maybe we can tackle this one? Should be pretty simple and similar to TLG Quote Link to comment Share on other sites More sharing options...
Iam Posted July 28, 2014 Author Share Posted July 28, 2014 And what is this? http://makewebgames.io/showthread.php/44084 Quote Link to comment Share on other sites More sharing options...
sniko Posted July 28, 2014 Share Posted July 28, 2014 Hopefully I am understanding what you want but if you notice in your globals.php file you have the variable $ir declared in there which grabs the players stats and all info in the users table for that particular user, with that you can mimic it a bit and parse it using json then you can use that with any language. [MENTION=65371]sniko[/MENTION] maybe we can tackle this one? Should be pretty simple and similar to TLG Take me out to dinner first, then we'll tackle it maybe :p And what is this? http://makewebgames.io/showthread.php/44084 It's not what you're looking for. That is basically a class with some functions - not really the type of API you're looking for. Quote Link to comment Share on other sites More sharing options...
Iam Posted July 28, 2014 Author Share Posted July 28, 2014 Ah ok thanks, we have discussed on Skype some things...think we are getting somewhere :) Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted August 15, 2014 Share Posted August 15, 2014 I'm currently in the process of adding an API to my site, well it's on my list at least :D... Quote Link to comment Share on other sites More sharing options...
sniko Posted August 15, 2014 Share Posted August 15, 2014 I'm currently in the process of adding an API to my site, well it's on my list at least :D... What type of methodology? REST, SOAP, (sorry for saying this) cheap labelling for a class, or? Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted August 15, 2014 Share Posted August 15, 2014 I haven't really explored the possibilities as far as what I will be using for the API as it is only an item on my list so far. I would really like to explore MILK however its still in process of being worked out. but i'm thinking of using jQuery and bootstrap for the GUI and then mix it in with the a DB variable puller or something similar so it's purely customized. However its just thoughts right now. What would u suggest? Quote Link to comment Share on other sites More sharing options...
sniko Posted August 15, 2014 Share Posted August 15, 2014 (edited) I haven't really explored the possibilities as far as what I will be using for the API as it is only an item on my list so far. I would really like to explore MILK however its still in process of being worked out. but i'm thinking of using jQuery and bootstrap for the GUI and then mix it in with the a DB variable puller or something similar. However its just thoughts right now. What would u suggest? I'd suggest using the REST methodology. It would open doors for much easier app building, and (depending on the back-end structure; classes, namespaces, etc - future proofing and enhancing code/routines) Sure this could be achieved with the others, but I personally find sending RESTful request to a web service (for apps) is much easier than sending SOAP requests. You'd need a good design pattern, obvious and most logical choice is the MVC design pattern. Edited August 15, 2014 by sniko Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted August 15, 2014 Share Posted August 15, 2014 cool i'll look into this once i've got it next upon my list of things to add :p Thanks for the heads up on that! Always enjoy learning new things :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.