{"id":21724836,"url":"https://github.com/melihmucuk/hugo","last_synced_at":"2025-04-12T22:51:41.236Z","repository":{"id":57606126,"uuid":"77714187","full_name":"melihmucuk/hugo","owner":"melihmucuk","description":"Hürriyet API Wrapper For Golang","archived":false,"fork":false,"pushed_at":"2017-01-02T06:39:53.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T16:55:06.412Z","etag":null,"topics":["golang","hurriyet","hurriyet-api","news","newsapi"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/melihmucuk.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}},"created_at":"2016-12-30T22:42:37.000Z","updated_at":"2023-06-20T06:19:43.000Z","dependencies_parsed_at":"2022-08-26T17:12:47.310Z","dependency_job_id":null,"html_url":"https://github.com/melihmucuk/hugo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihmucuk%2Fhugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihmucuk%2Fhugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihmucuk%2Fhugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihmucuk%2Fhugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melihmucuk","download_url":"https://codeload.github.com/melihmucuk/hugo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643044,"owners_count":21138353,"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":["golang","hurriyet","hurriyet-api","news","newsapi"],"created_at":"2024-11-26T03:13:42.930Z","updated_at":"2025-04-12T22:51:41.216Z","avatar_url":"https://github.com/melihmucuk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hugo [![GoDoc](https://godoc.org/github.com/melihmucuk/hugo?status.svg)](https://godoc.org/github.com/melihmucuk/hugo) [![Go Report Card](https://goreportcard.com/badge/melihmucuk/hugo)](https://goreportcard.com/report/melihmucuk/hugo)\nHürriyet API Wrapper For Golang\n\n## Install\n\n`$ go get github.com/melihmucuk/hugo`\n\n## Example\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/melihmucuk/hugo\"\n)\n\nfunc main() {\n\th := hugo.NewHurriyetAPI(\"YOUR_API_KEY\")\n\n\tquery := \u0026hugo.Query{Top: 10}\n\tarticles, _ := h.ListArticles(query)\n\tfmt.Println(\"articles count =\u003e \", len(articles))\n\n\tarticle, _ := h.SingleArticle(articles[0].ID, nil)\n\tfmt.Println(\"article =\u003e \", article)\n\n\tsearchQuery := \u0026hugo.Query{S: \"1\", Skip: 50, Top: 50} // default: -1, -1 =\u003e new to old , 1 =\u003e old to new\n\tsearchResults, _ := h.Search(\"reina\", searchQuery)\n\tfmt.Println(\"results found =\u003e \", searchResults.Count)\n\n\twriters, _ := h.ListWriters(nil)\n\tfmt.Println(\"writers count =\u003e \", len(writers))\n\n\twriter, _ := h.SingleWriter(writers[2].ID, nil)\n\tfmt.Println(\"writer =\u003e \", writer)\n\n\tgalleryQuery := \u0026hugo.Query{Filter: \"Path eq '/teknoloji/'\", Top: 5}\n\tgalleries, _ := h.ListPhotoGalleries(galleryQuery)\n\tfmt.Println(\"photo galleries about 'teknoloji' =\u003e \", len(galleries))\n\n}\n```\n\n## TODO\n- [X] Article\n- [X] Search\n- [X] Writer\n- [X] Path\n- [X] Page\n- [X] News Photo Gallery\n- [ ] Date\n- [X] Column\n- [ ] Test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihmucuk%2Fhugo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelihmucuk%2Fhugo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihmucuk%2Fhugo/lists"}