import pywikibot as pwb
site = pwb.Site("wikidata", "wikidata")
repo = site.data_repository()
testpage = pwb.ItemPage(repo, "Q1855201")
testpage.get()["claims"]["P1365"][0].getTarget().text
{'aliases': {},
 'claims': {'P1365': [<pywikibot.page.Claim at 0x7f28c60aea20>],
  'P1366': [<pywikibot.page.Claim at 0x7f28c60aee80>],
  'P1448': [<pywikibot.page.Claim at 0x7f28c60aeda0>],
  'P17': [<pywikibot.page.Claim at 0x7f28c609ecc0>],
  'P2388': [<pywikibot.page.Claim at 0x7f28c60ae898>],
  'P31': [<pywikibot.page.Claim at 0x7f28c60aeb70>,
   <pywikibot.page.Claim at 0x7f28c60aec88>],
  'P571': [<pywikibot.page.Claim at 0x7f28c60aeb00>],
  'P576': [<pywikibot.page.Claim at 0x7f28c60aee10>]},
 'descriptions': {},
 'labels': {'en': 'Ministry of War of Italy',
  'it': "Ministero della guerra d'Italia"},
 'sitelinks': {}}