Class WikibaseDataFetcher

java.lang.Object
org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher

public class WikibaseDataFetcher extends Object
Simple class to fetch data from Wikibase via the online API.
Author:
Markus Kroetzsch, Michael Guenther
  • Constructor Details

    • WikibaseDataFetcher

      public WikibaseDataFetcher(ApiConnection connection, String siteUri)
      Creates an object to fetch data from API with the given ApiConnection object. The site URI is necessary since it is not contained in the data retrieved from the URI.
      Parameters:
      connection - ApiConnection
      siteUri - the URI identifying the site that is accessed (usually the prefix of entity URIs), e.g., "http://www.wikidata.org/entity/"
  • Method Details