Drupal Services Script
We’re creating a Drupal backend to manage data for a third-party RPG game framework. We know a little PHP/MySQL, but need help implementing the Services (http://drupal.org/project/services) module for our use.
A little explanation about our setup: Our system allows people to create their own RPG games, complete with settings (like leveling speed, etc.), races, classes, etc. Data like game settings, character sheets, etc. is stored in the Drupal site, and our third-party software will fetch and update data via HTTP.
We know a bit of PHP, but we’re relatively new to Drupal. What we need is a script that can use the Services framework to accomplish the following tasks:
1. Connect to Drupal
2. Create nodes with pre-defined fields
3. Find user ids by username
4. Locate nodes based on certain search criteria
5. Fetch the values of a particular node using the node id
Please note that our content types use CCK fields.
We will then include these core functions in our own script in order to intercept HTTP calls and update/return the appropriate data for our software.
Attached is a full specification document that defines each custom function we need.