Page MenuHomePhabricator

[Session] Developing a bot to add mass information from APIs to Wikidata: OpenCitations Bot
Closed, ResolvedPublic


Username or display name: Houcemeddine Turki (User:Csisc) and Dennis Priskorn (User:So9q)

Session type (select one):

  • Presentation (including Q/A) - 25 mins
  • Discussion (including Q/A) - 55 mins
  • Workshop (including Q/A) - 55 mins

Date and time:
August 13th, 2021, 17:00 UTC

Session Details

Short description of the session (~150 words):
In this brief presentation, we demonstrate how to create a bot that extracts information from the REST API of a CC0 Semantic Database and automatically adds the obtained output to Wikidata. We will use Python 3.9 with freely available libraries like Requests as well as with several Wikidata tools like the Wikidata Hub and Wikibase Integrator for developing the bot. For the demonstration, we will apply this method to create the OpenCitations Bot that adds citation data from OpenCitations COCI API to Wikidata.

Target audience:
Beginners with basic knowledge of Python, Wikidata Contributors

(Optional) Additional resources:

Event Timeline

Csisc added a subscriber: So9q.

@Csisc: Thanks for participating in the Hackathon! We hope you had a great time.

  • If this session / event took place: Please change the task status to resolved via the Add Action...Change Status dropdown.
    • If there are specific follow-up tasks from this session / event: Please create dedicated tasks and add another active project tag to those tasks, so others can find those tasks (as likely nobody in the future will look at the Hackathon workboard when trying to find something they are interested in).
  • In this session / event did not take place: Please set the task status to declined.

Thank you,
your Hackathon venue housekeeping service

Csisc claimed this task.