{"id":20874495,"url":"https://github.com/wikidata/wikidata-toolkit-examples","last_synced_at":"2025-03-26T12:03:08.043Z","repository":{"id":119971294,"uuid":"46227014","full_name":"Wikidata/Wikidata-Toolkit-Examples","owner":"Wikidata","description":"Examples showing how to use Wikidata Toolkit as a Maven library in your project","archived":false,"fork":false,"pushed_at":"2024-09-23T19:25:57.000Z","size":131,"stargazers_count":50,"open_issues_count":2,"forks_count":24,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-23T17:22:39.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.mediawiki.org/wiki/Wikidata_Toolkit","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wikidata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-15T17:04:28.000Z","updated_at":"2025-03-23T13:45:46.000Z","dependencies_parsed_at":"2024-06-16T12:42:10.335Z","dependency_job_id":"d97dccf9-ed5b-47ca-8484-2f9f38cf2f59","html_url":"https://github.com/Wikidata/Wikidata-Toolkit-Examples","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wikidata%2FWikidata-Toolkit-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wikidata%2FWikidata-Toolkit-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wikidata%2FWikidata-Toolkit-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wikidata%2FWikidata-Toolkit-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wikidata","download_url":"https://codeload.github.com/Wikidata/Wikidata-Toolkit-Examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650484,"owners_count":20650105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T06:33:09.313Z","updated_at":"2025-03-26T12:03:08.015Z","avatar_url":"https://github.com/Wikidata.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikidata Toolkit Examples\n\nThis is an example project that shows how to set up a Java project that\nuses [Wikidata Toolkit](https://github.com/Wikidata/Wikidata-Toolkit).\nIt contains several simple example programs and bots in the source directory.\n\nWhat's found in this repository\n-------------------------------\n\nThe individual examples are documented in the README file of each package.\n\n\nRunning examples using an IDE\n-----------------------------\n\nYou can import the project into any Java IDE that supports Maven (and maybe git)\nand run the example programs from there. Wikidata Toolkit provides detailed\n[instructions on how to set up Eclipse for using Maven and git](https://www.mediawiki.org/wiki/Wikidata_Toolkit/Eclipse_setup).\n\n\nRunning examples directly using Maven\n-------------------------------------\n\nYou can also run the code directly using Maven from the command line. For this,\nyou need to have Maven and (obviously) Java installed. To compile the project\nand obtain necessary dependencies, run\n\n```mvn compile```\n\nThereafter, you can run any individual example using its Java class name, for\nexample:\n\n```mvn exec:java -Dexec.mainClass=\"examples.FetchOnlineDataExample\"```\n\nCredits and License\n-------------------\n\nThis project is copied from the [Wikidata Toolkit](https://github.com/Wikidata/Wikidata-Toolkit) examples module.\nAuthors can be found there.\n\nLicense: [Apache 2.0](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikidata%2Fwikidata-toolkit-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikidata%2Fwikidata-toolkit-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikidata%2Fwikidata-toolkit-examples/lists"}