Module: WikidataAdaptor::RestApi::PropertyDataTypes

Included in:
WikidataAdaptor::RestApi
Defined in:
lib/wikidata_adaptor/rest_api/property_data_types.rb

Overview

Instance Method Summary collapse

Instance Method Details

#get_property_data_typesHash

Retrieve the map of Property data types to value types

Returns:

  • (Hash)

    The map of Property data types to value types



10
11
12
# File 'lib/wikidata_adaptor/rest_api/property_data_types.rb', line 10

def get_property_data_types
  get_json("#{endpoint}/v1/property-data-types")
end