Skip to content

Add a getEntities function#42

Open
brianckeegan wants to merge 1 commit intoalexz-enwp:masterfrom
brianckeegan:patch-5
Open

Add a getEntities function#42
brianckeegan wants to merge 1 commit intoalexz-enwp:masterfrom
brianckeegan:patch-5

Conversation

@brianckeegan
Copy link

This (very roughly) implements a getEntities function to retrieve semantic data from a WikiData-like site. Example:

import wikitools as wt
wikidata_site = wt.wiki.Wiki(url='https://www.wikidata.org/w/api.php')
wt.page.Page(site=wikidata_site,title='2016 Central Italy earthquake',followRedir=False).getEntities()

This (very roughly) implements a `getEntities` function to retrieve semantic data from a WikiData-like site. Example:

import wikitools as wt
wikidata_site = wt.wiki.Wiki(url='https://www.wikidata.org/w/api.php')
wt.page.Page(site=wikidata_site,title='2016 Central Italy earthquake',followRedir=False).getEntities()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant