DrutNet
.Net API to integrate with Drupal via Services module
Install / Use
/learn @bricel/DrutNetREADME
Folders : /Class - Source code of API classes. /DrutNETSample - A sample API client. /Dlls - All libraries dependent. /Forms - Include a windows form for user login. /Properties - Project properties /Drupal Modules - Drupal modules (see Sample Installation instructions for more info)
Creating a client with C#:
Dependencies : all libraries required as dependencies are located in folder /Dlls
-
To connect with service use the Class Services, here is a brief overview of the function : Service.Login - Login to drupal Service.NodeGet - Load a Node Service.UserGet - Load a user Service.NodeSave - Save a node Service.FileUpload - Upload a file and attach to a node
-
To Upload files using CURL, here is a brief overview of the function : Curl.Login - Login to Drupal with CURL Curl.UploadFile - Upload a file to a CCK file/image field (require the file_form module provide in the '/Drupal Module' folder)
-
Permissions - Make sure to grand permissions to all services modules that you wish to use.
Sample installation instructions:
- Place the 2 modules under '/Drupal Module' in you 'sites/all/modules'.
- drutnet_sample- The module is a features module to test the system with the DrutNETSample
- file_form - this Module is required only for file upload with CURL
- Download the modules : Services, Features, CCK ,VIEW.
- Enable all the modules above
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
