This project is to create simple API so I can communicate with a Text-based RPG; It needs to be able to retrieve and send data using a simple request to an URL.
What I want is : I call an URL with some data, the API sends data to the Text-based RPG (using cURL), then scrapes game output (using Simple HTML DOM parser of whatever you want) and sends me back this data using a specific JSON structure.
I already developed a skeleton for this API, which is done in CodeIgniter. If you can work with CodeIgniter (dependless if you use what I did or not), I'll give preference to your bid! Otherwise, I'm fine if you use another framework, or even pure PHP, but as I said, CodeIgniter is definitely what I'm aiming for.
Attached are full specs for this simple API.
Please note that generic bid will be ignored! Take your time to read requirements, and show me that you know what needs to be developed when you bid.
I will provide the code I made to the winning bidder, if you ask for it, since I think it can saves you some precious time if you start from it.
Here's more details on what is required:
- Each page of the game needs to be accessible via this API, whether it uses GET or POST protocol. No error should be returned unless provided data is incomplete or wrong
- If data is sent to a page via the API, the behavior should be exactly the same as if the page as been used in-game.
- API output needs to be provided as described in the specs document. It can be modified if needed, but I must approve any changes prior to its implementation.
- You must suggest a way to support colors in JSON Content section, as specified in the specs document.
- Anything that is required to have a fully functional version of the API, as described in the specs document.