Feature summary: Create a new api-call-examples.md file with examples for creating and editing author work items in Wikidata, using the Wikibase REST API.
Specifically, create:
- An example API call to create an author item, including a label, a description, and the statements "instance of (P31): human being (Q5)", "sex or gender (P21): female (Q6581072)", and "occupation (P106): writer (Q36180)".
- An example API call to create a work item, including a label, a description, and the statements "instance of (P31): literary work (Q7725634)" and "form of creative work (P7937): novel (Q8261)".
- An example API call to add a statement to the already created author item: "country of citizenship (P27): Uruguay (Q77)".
- An example API call to modify the already created item's statement "country of citizenship (P27): Uruguay (Q77)" to "country of citizenship (P27): Bolivia (Q750)".
Documentation for using the Wikibase REST API is located here https://www.wikidata.org/wiki/Wikidata:REST_API and here https://doc.wikimedia.org/Wikibase/master/js/rest-api/
To test item creation and editing with the REST API, use the Wikidata test site: https://test.wikidata.org/wiki/Wikidata:Main_Page
Benefits: The REST API usage examples listed in this Markdown file will be used later to implement the API calls in Paulina, using the Python requests module.