I'm getting an invalid variable error in the viewer
So i made the first version of the private api. Basically you need to get an app key for whatever app you write from the auto app mart backend.
Then make a remote http request to the api to auth and get a signature
now you can make api calls to methods using your sig and whatever parameters that method requires.
currently all output is JSON
FOR A TEST:
and copy the JSON output
and then paste it in here http://jsonviewer.stack.hu
then click viewer
you can see the whole bit
crap, scroll down to the bottom and remove the NULL and the line break
ill have to fix that in a min
thats what mysql fetch array gives you when you don't do anything to. When the JSON parses it, it doesn't include the numeric key fields, only the named ones. So once the string is parsed from JSON they won't exist.
i fixed the output also.