{"id":21194673,"url":"https://github.com/devetek/gowpgql","last_synced_at":"2026-05-09T02:36:23.804Z","repository":{"id":210931360,"uuid":"727699730","full_name":"devetek/gowpgql","owner":"devetek","description":"Golang WordPress interface through GraphQL by WPGraphQL","archived":false,"fork":false,"pushed_at":"2023-12-09T15:14:30.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-01T13:44:09.404Z","etag":null,"topics":["golang","graphql","wordpress"],"latest_commit_sha":null,"homepage":"https://cloud.devetek.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devetek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-05T11:53:25.000Z","updated_at":"2023-12-09T15:22:29.000Z","dependencies_parsed_at":"2024-06-19T16:08:01.763Z","dependency_job_id":null,"html_url":"https://github.com/devetek/gowpgql","commit_stats":null,"previous_names":["devetek/gowpgql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devetek/gowpgql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devetek%2Fgowpgql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devetek%2Fgowpgql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devetek%2Fgowpgql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devetek%2Fgowpgql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devetek","download_url":"https://codeload.github.com/devetek/gowpgql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devetek%2Fgowpgql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["golang","graphql","wordpress"],"created_at":"2024-11-20T19:23:43.008Z","updated_at":"2026-05-09T02:36:23.785Z","avatar_url":"https://github.com/devetek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nGoWPGQL is an interface to communicate with WordPress through GraphQL by [WPGraphQL](https://www.wpgraphql.com/). Integrate with repository [Wordpress Playground](https://github.com/devetek/wpgraphql-playground) to play around with Wordpress.\n\n### Prerequisite\n\nWordpress engine with WPGraphQL enabled, use [Wordpress Playground](https://github.com/devetek/wpgraphql-playground) to test GoWPGQL examples.\n\n### Usage\n\n1. Get Posts\n\n```sh\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/devetek/gowpgql\"\n)\n\nfunc main() {\n    var wpGQLURL = \"https://graphql.terpusat.com/\"\n\n\tgql := gowpgql.New(wpGQLURL)\n\n    // get post without variables\n\tposts := gql.Posts(1, 0, \"\", \"\", nil)\n\n\tfmt.Println(posts)\n}\n```\n\n### Examples\n\n1. Use common available interface from GoWPGQL\n\n```sh\nmake run-example-all-list\n```\n\n1. Define your custom model, if it not supported to your wordpress data structure\n\n```sh\nmake run-example-with-external\n```\n\n## Todo\n\n- [ ] Migrate wordpress common data to completing golang wordpress interface\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevetek%2Fgowpgql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevetek%2Fgowpgql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevetek%2Fgowpgql/lists"}