Just to say cooking with gas. It's been gruelling but I am now down to playing with parameters and getting sensible errors from Moodle. At least the course arrives. So bit by bit (or should that be byte by byte
Was bitten by the authentification (OAuth signature) problem seen by many in the past but found where to comment out the check as for my purposes security is not an issue. When we do the real thing that will get sorted.
Once I get some good clean results I'll post the working php script along with pointers to each parameters origin. Hopefully someone might come this way.
And thanks to Mary and Ken for keeping me company. It does help just to know someone is there
Now just hope the efforts lead to a moodling success.
Cheers