WikidataAPI

interface WikidataAPI

Define our WikiData API endpoints. Get method to get json response from wikidata server.

Functions

Link copied to clipboard
@GET(value = "{id}.json")
abstract suspend fun getEntity(@Path(value = "id") entityId: String): ObjectNode?