{"id":23201094,"url":"https://github.com/codedotjs/wikipics-api","last_synced_at":"2025-04-05T09:26:24.440Z","repository":{"id":87437413,"uuid":"98702846","full_name":"CodeDotJS/wikipics-api","owner":"CodeDotJS","description":":mailbox_closed: A simple API to obtain Wikipedia Picture of the Day!","archived":false,"fork":false,"pushed_at":"2017-07-31T19:39:33.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T03:43:15.163Z","etag":null,"topics":["api","day","picture","wiki","wikipedia","wikipedia-picture"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeDotJS.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":"2017-07-29T02:29:26.000Z","updated_at":"2023-09-08T17:28:02.000Z","dependencies_parsed_at":"2023-04-18T07:47:03.602Z","dependency_job_id":null,"html_url":"https://github.com/CodeDotJS/wikipics-api","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"53b25a472f4b6aa186c07767ceb77bf42c3cd4ba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fwikipics-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fwikipics-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fwikipics-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeDotJS%2Fwikipics-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeDotJS","download_url":"https://codeload.github.com/CodeDotJS/wikipics-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247314598,"owners_count":20918870,"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":["api","day","picture","wiki","wikipedia","wikipedia-picture"],"created_at":"2024-12-18T15:13:51.541Z","updated_at":"2025-04-05T09:26:24.416Z","avatar_url":"https://github.com/CodeDotJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wikipics-api [![Build Status](https://travis-ci.org/CodeDotJS/wikipics-api.svg?branch=master)](https://travis-ci.org/CodeDotJS/wikipics-api)\n\n\u003e A simple API to obtain Wikipedia Picture of the Day\n\n## Install\n\n```\n$ npm install --save wikipics-api\n```\n\n## Usage\n\n```js\n'use strict'\n\nconst wikipics = require('wikipics-api');\n\nwikipics().then(data =\u003e {\n  console.log(data);\n  /*\n  {\n    image: 'https://upload.wikimedia.org/.../20px-Padlock-pink.svg.png',\n    name: '20px-Padlock-pink.svg.png',\n    data: 'Centaurea jacea\\nPhotograph: Uoaei1\\nArchive – More featured pictures...'\n  }\n  */\n});\n\nwikipics('2014-10-10').then(data =\u003e {\n  console.log(data);\n  /*\n  {\n    image: 'https://upload.wikimedia.....450px-Soursop%2C_Annona_muricata.jpg',\n    name: '450px-Soursop%2C_Annona_muricata.jpg',\n    data: 'The soursop is the fruit of ...with sour citrus flavour...'\n  }\n  */\n});\n```\n\n## API\n\n#### `wikipics()`\n\n- `Return promise for current picture of the day`\n\n#### `wikipics('date')`\n\n- `Returns promise for picture of the day of specific date`\n\n`date`\n\n`TYPE` `:` `string`\n\n`FORMAT` `:` `yyyy-mm-dd`\n\n\n## Related\n\n- __[`wikipics`](https://github.com/CodeDotJS/wikipics)__ : `Download Wikipedia Picture of the Day and more!`\n\n## License\n\nMIT \u0026copy; [Rishi Giri](http://rishigiri.ml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fwikipics-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedotjs%2Fwikipics-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedotjs%2Fwikipics-api/lists"}