Open nperez0111 opened 8 years ago
I found a JSON parser on github: https://github.com/miloyip/rapidjson
This is kind of sort of how the receipt will be formatted.
I also figured out that I can call c++ programs within php so if you guys are having trouble getting networking in the program this would help a lot. Basicallly what can go down is that the program is called with an argument to it that will be the JSON so all that you guys would have to do is print the receipt. If you can figure out the networking thing fine, if not I'll set you guys up with this.
creates array of objects
function prototype brainstorming:
string getMessage(); structure returning function parseMessage(); bool ifNew(); void print();
http://api.nickthesick.com/orders?login%5BEmail%5D=nick%40nickthesick.com&login%5Bpassword%5D=0046788285 This is a proper response from the database
The Juan & Nalin Manual
Written in C++ Please
JSON Response
JSON Error Response
What needs to happen
JSON Request Format