The PharmGKB data service retrieves data from PharmGKB given a PharmGKB Accession Id. The WSDL for this service is available here.
searchGene ( PharmGKB accession # (string) ) searchDrug ( PharmGKB accession # ) searchDisease ( PharmGKB accession # ) searchPublication ( PharmGKB accession # ) searchVariant ( chromosome (int), Golden Path position (int) )
All methods return a map of name/value pairs (e.g. a Perl hash or Java Map). Data items are variable, and can be enumerated; value types are both simple scalars and more complex nested types.
The following keys are the keys for each data type: