XmlRpc PartnerService is the entry point to access to Developer Fotolia Services in XmlRpc mode.

It implements IPartnerService interface (FTTK.Core.Services.Interfaces).

To use PartnerService simply define and instantiate it (using a valid API Key for developer) and, then, call the method you need.

For example, to use GetData methods on Main services (http://en.fotolia.com/Services/API/Rest/Method/getData):

Imports FTTK.Services.Implementations.XmlRpc

Module Module1

    Sub Main()
        Dim srv = New PartnerService("valid key")
        Dim data = srv.GetData()
        Console.WriteLine("Number of media = {0}", data.NumberOfMedia)
    End Sub

End Module

Last edited Nov 13, 2011 at 4:38 PM by Cobra1970, version 2


No comments yet.