Popular Post Jroc Posted March 1, 2018 Popular Post Share Posted March 1, 2018 (edited) Project Prometheus === Project Prometheus is the working name for a more feature-rich API for PnW. We are an unofficial project designed to bringing ODATA complaince and features. We run on our own hardware and our own domain. We are not part of PNW officially, we're just providing a free service so you can dev with ease! What is ODATA? ODATA is a standardized protocol for getting API Data. It allows for server-side filtering of data so you only get what you need. How does it work? First off, we will cache hourly or bi-hourly publically available data and through our import process turn it into strongly typed data. This means that you can expect data to be of the right type. A number is really a number! Next, we open up new API endpoints for Alliance, Nations, wars, etc... But, the main difference is, if you ask for an alliance, you will get all nations in it, with who thier leaders are. More will probably come on this as we find the best way to represent PNW data that is easy and intuitive. Okay, so whats the catch? There is none, we will host our code as open source tentatively under MIT. You may audit the code anytime and/or request a walkthrough of what the code does. We are bound by professional ethics. What about accessing my alliance's bank through the API, am I safe? We do NOT cache any personal data or data that may threaten the security of your nation or alliance. If you are unsettled, please request a code walkthrough or send an auditor you trust to check it over. Again, WE DO NOT CACHE PERSONAL OR ALLIANCE CRITICAL DATA. WE ONLY CACHE PUBLICALLY AVAILABLE DATA. What is the gameplan? I have broken it down into milestones. Milestone 1 : Setting up project infrastructure We will create a GitHub, you may create issues or post ideas in this thread. Please note, that if you come up with any ideas, they will need to be implemented for all alliances. So, there maybe a bit of a slow turnaround. Also note that complex features will require Unit Tests and you will be asked to help test the new features (not required just would be nice if you did). Milestone 2: Creating the Cache and Mapping of PNW data into Prometheus Data We'll go through and create appropiate classes for PNW Data and transform/map it into Prometheus Data. Prometheus data is strongly typed and will be well documented. Milestone 3: Service Layer We'll add a small service layer to better handle complex features down the road and facilitate data coming from our cache. Milestone 4: API Next, we will add the ODATA Server so it can serve api requests. Milestone 5: Documentation Next, we're gonna add a small site to sit near/on the API to give ya'll documentation. You can help with this by writing documentation in MarkDown. When, we reach this point, I will give out more info on the process. Past the Milestones Past the milestones, we will listen and dot down feature ideas. The easier ones will go first. So if you want this to become a thing, let me know. Even if just 5 people use it, I will do it. Thanks! _______ UPDATED Information _____ GitHub Link: https://github.com/JamesLoyd/prometheus Discord: https://discord.gg/PNuWgAQ -------- Also thanks to John Smith for helping out! Edited March 3, 2018 by Jroc 15 Quote Link to comment Share on other sites More sharing options...
Redarmy Posted March 1, 2018 Share Posted March 1, 2018 Good luck man! Quote "Though it starts with a fist it must end with your mind." Link to comment Share on other sites More sharing options...
Dio Brando Posted March 1, 2018 Share Posted March 1, 2018 I would like that — I would like that a lot. Good luck! Quote Link to comment Share on other sites More sharing options...
Dynamic Posted March 1, 2018 Share Posted March 1, 2018 (edited) Sounds like a neat project! When I have to work with more detailed APIs I typically end up using PHP and making a POST request to login and then I use a CookieJar to hold onto my session data. Then I can just get about any page that I need. It's not the most efficient or the easiest thing to do since you have to parse the HTML yourself, but good luck and let me know if you need any help. This would help us a lot if we could just make simple JSON calls through sheets script. Edited March 1, 2018 by Dynamic 2 Quote Horizon Guard of Rose Internal Affairs Link to comment Share on other sites More sharing options...
Queen M II Posted March 1, 2018 Share Posted March 1, 2018 I'm intrigued but I don't know what any of these words mean. 5 Quote Link to comment Share on other sites More sharing options...
Jroc Posted March 1, 2018 Author Share Posted March 1, 2018 56 minutes ago, Queen M said: I'm intrigued but I don't know what any of these words mean. Basically, I am giving everyone a more user-friendly API that is consistent. Hit me up if you want to know more! 1 Quote Link to comment Share on other sites More sharing options...
Popular Post Micchan Posted March 1, 2018 Popular Post Share Posted March 1, 2018 1 hour ago, Dynamic said: Sounds like a neat project! When I have to work with more detailed APIs I typically end up using PHP and making a POST request to login and then I use a CookieJar to hold onto my session data. Then I can just get about any page that I need. It's not the most efficient or the easiest thing to do since you have to parse the HTML yourself, but good luck and let me know if you need any help. This would help us a lot if we could just make simple JSON calls through sheets script. This is his post And this is how I see it 13 Quote Link to comment Share on other sites More sharing options...
Jroc Posted March 1, 2018 Author Share Posted March 1, 2018 (edited) 41 minutes ago, Micchan said: This is his post And this is how I see it Haha, I understood what he was saying 100% That's also probably why I am the one working on this too Edited March 1, 2018 by Jroc Quote Link to comment Share on other sites More sharing options...
Smith Posted March 1, 2018 Share Posted March 1, 2018 3 Quote Link to comment Share on other sites More sharing options...
Isaac Lazarus Posted March 1, 2018 Share Posted March 1, 2018 Sounds great! Quote Link to comment Share on other sites More sharing options...
Guest Epi Posted March 1, 2018 Share Posted March 1, 2018 (edited) 417 Edited December 21, 2020 by Epi Quote Link to comment Share on other sites More sharing options...
Sketchy Posted March 1, 2018 Share Posted March 1, 2018 All I want is war damages yo. 3 Quote Link to comment Share on other sites More sharing options...
Timmy Posted March 2, 2018 Share Posted March 2, 2018 Awesome idea, looking forward to seeing how it develops! Quote Link to comment Share on other sites More sharing options...
Insert Name Here Posted March 2, 2018 Share Posted March 2, 2018 It warms my heart to see people like Jroc and Dynamic confirm me how much of an IT illiterate I am. 2 Quote Link to comment Share on other sites More sharing options...
Jroc Posted March 5, 2018 Author Share Posted March 5, 2018 Just a bit of an update. We are welcoming DrRush and John Smith to our dev team. John Smith will be helping me with the API and DrRush intends to build a UI on top of our API for stats and what not. In case you didn't see it, our github is https://github.com/JamesLoyd/prometheus And our discord link: https://discord.gg/RK8ukGc So come on by and watch it happen! 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.