{"id":28700684,"url":"https://github.com/tryghost/api-demos","last_synced_at":"2025-08-01T13:36:15.881Z","repository":{"id":38085989,"uuid":"215604189","full_name":"TryGhost/api-demos","owner":"TryGhost","description":"Demo scripts showing how to use Ghost's Admin and Content APIs to accomplish common tasks.","archived":false,"fork":false,"pushed_at":"2025-06-18T04:40:07.000Z","size":1082,"stargazers_count":26,"open_issues_count":17,"forks_count":12,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-06-18T05:33:41.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ghost.org","language":"JavaScript","has_issues":false,"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/TryGhost.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,"zenodo":null},"funding":{"github":"tryghost","open_collective":"ghost"}},"created_at":"2019-10-16T17:20:15.000Z","updated_at":"2025-04-04T03:42:39.000Z","dependencies_parsed_at":"2023-02-19T03:46:05.850Z","dependency_job_id":"e4ad6b08-8f31-4ebd-b187-dbdaff5e82a8","html_url":"https://github.com/TryGhost/api-demos","commit_stats":{"total_commits":180,"total_committers":7,"mean_commits":"25.714285714285715","dds":0.4388888888888889,"last_synced_commit":"39c21f8f67b92fca7bcc0757fe884aa7654bfdaf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TryGhost/api-demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Fapi-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Fapi-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Fapi-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Fapi-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TryGhost","download_url":"https://codeload.github.com/TryGhost/api-demos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TryGhost%2Fapi-demos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261289421,"owners_count":23136071,"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":"2025-06-14T11:30:32.275Z","updated_at":"2025-06-22T12:08:58.929Z","avatar_url":"https://github.com/TryGhost.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tryghost","https://opencollective.com/ghost"],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ghost.org\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/120485/43974508-b64b2fe8-9cd2-11e8-8e58-707254b8817c.png\" width=\"140px\" alt=\"Ghost\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://ghost.org/docs/api/v3/\"\u003eAPI Reference\u003c/a\u003e |\n    \u003ca href=\"https://ghost.org/docs/api/v3/content/\"\u003eContent API\u003c/a\u003e |\n    \u003ca href=\"https://ghost.org/docs/api/v3/admin/\"\u003eAdmin API\u003c/a\u003e |\n    \u003ca href=\"https://ghost.org/docs/api/v2/javascript/\"\u003eJavaScript Client Libraries\u003c/a\u003e |\n    \u003ca href=\"https://ghost.org/docs/api/v3/javascript/sdk/\"\u003eJavaScript SDK\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eLove open source? We're hiring \u003ca href=\"https://careers.ghost.org/product-engineer-node-js/\"\u003eNode.js Engineers\u003c/a\u003e to work on Ghost full-time\u003c/p\u003e\n\n# API Demos\n\nAt its heart, Ghost is a RESTful JSON API — designed to create, manage and retrieve publication content with ease.\n\nGhost's API is split by function into two parts: Content and Admin. Each has its own authentication methods, structure and extensive tooling so that common publication usecases are solved with minimal effort. Learn more about the Core API [in our docs](https://ghost.org/docs/concepts/core/).\n\nThis GitHub repository contains an ever-growing collections of demos, showing how you can achieve common tasks easily using the APIs, Client Libraries and JavaScript SDK.\n\nEach individual file is a demo, with it's own instructions for how to use it at the top of the file. The .js files are node scripts that will work out of the box when called with your API url and key. The .html files are client-side demos that will run against demo.ghost.io when opened in your browser of choice.\n\n## Install\n\n1. `git clone` this repo \u0026 `cd` into it as usual\n2. Run `yarn` (or `npm install`) to install top-level dependencies.\n\n## Usage\n\nSee individual scripts for usage\n\n# Copyright \u0026 License\n\nCopyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryghost%2Fapi-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryghost%2Fapi-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryghost%2Fapi-demos/lists"}