.NET API to integrate with Drupal 7 via XML-RPC and Services 3 module
The project I'm introducing here wraps around Charles Cook's excellent XML-RPC.Net library and exposes a number of convenience methods to
Example of Java XML-RPC client with Drupal7 and Services 3.x
Please find below a small example in Java and XML-RPC using Drupal7 and Services 3.X.
Example xml-rpc post for user.update
Example: Authenticate user and create node using Services 3.0 XML-RPC and Python
After you have exposed the node and user resources you can first log in a user and perform an action with the session cookie returned. To
Example: User login with API key using C#
The following example will explain how to connect to your Drupal site using the Services module with the usage of an API key and login a
Parameter formats in the browser
The browser provides three formats for use with the complex parameter types struct and array. These formats are JSON, serialized PHP and
Services 3.0 Python example using XML-RPC and OAuth2
This code connects using two-legged OAuth to a drupal host running services-3.x, OAuth and an XMLRPC endpoint. This example uses two
Services 6.x-2.0 PHP example using XML-RPC for PHP
This example is to show you a basic method call (so not including e.g. API keys) and how to construct the URL. On your XMLRPC server website
Services 6.x-2.0 PHP xmlrpc example with api key
Here's some working logic that I cobbled together from various partial examples online and the deploy module. It's rough, but works. The key
Services 7.x-3.3, REST Server using 2-Legged OAuth in PHP, OAuth 7.x-3.x-dev
The Drupal REST services is an user-created module for Drupal 7 and 6.
Version 5
Services samples and tutorials for Version 5.x. Please put these samples here.
Version 6.0 / 6.1
Code samples and tutorials for the 6.0 and 6.1 branches.
- API key authentication
- Example: Accessing a service from Groovy or Java
- Example: Flagging a Node with Adobe Flex
- Example: Rating a Node with Adobe Flex
- Example: Save and Load Comments with Adobe Flex
- Example: Saving a node using Adobe Flex
- Example: User identification and login from Flex/Flash using XML-RPC
- JavaScript - Node.Save / Node Object / JSONP / And Other Info
- Session-based authentication
Version 6.2
Code samples and tutorials for Services 6.2. Please put samples for this version here.
- 2.x API key authentication
- API key authentication using REST Server module
- API key authentication using XML-RPC.{PHP client node.save - Location, CCK text fields }
- Accessing a Drupal xmlrpc server using api key and session id from php
- Example: User login with API key using PHP
- Example: file.save, node.save via XML-RPC in Python
- Example: node.save and CCK fields in PHP client code
- Example: user login using API key and node_resource.create and CCK fields in PHP client code using xmlrpc server
- JavaScript - CCK Text Fields in the Node Object // Cross-method Insights
- JavaScript - Comment.Save
- JavaScript - JSON Server & Request.JSON (MooTools Example)
- JavaScript - JSON Server & Request.JSONP (MooTools Example)
- JavaScript - Node.Save & Edit // Cross-method Insights
- PHP: get data with XMLRPC, no authentication, and a custom Service module
- Soap service with Services and phpSoap
- Soap service with Services, Soap Server and User Authentication
- Using session-based authentication
- xmlrpcConnector (php) extensible and ready to use from any website (not only from Drupal websites)
configure page size for taxonomy using services
The services module limits the amount of taxonomy vocabularies and taxonomy terms it shows to 20 by default.