**Username or display name:** Houcemeddine Turki (User:Csisc)
**Session type (select one):**
- [X] 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, I 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. I will use Python 3.9 with freely available libraries like Requests as well as with several Wikidata tools like the Wikidata Hub and MediaWiki API for developing the bot. For the demonstration, I 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:**
* https://github.com/csisc/OpenCitations-Bot
* https://meta.wikimedia.org/wiki/User:OpenCitations_Bot
* https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/OpenCitations_Bot
* https://realpython.com/python-requests/