{"id":17717943,"url":"https://github.com/mamal72/dgkala","last_synced_at":"2025-03-14T03:32:02.395Z","repository":{"id":57586585,"uuid":"78889512","full_name":"mamal72/dgkala","owner":"mamal72","description":"A simple Go package to interact with Digikala website","archived":false,"fork":false,"pushed_at":"2017-03-25T12:05:29.000Z","size":67,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T06:17:25.996Z","etag":null,"topics":["api","scraper","shopping"],"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/mamal72.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":"2017-01-13T21:50:05.000Z","updated_at":"2023-11-22T17:31:54.000Z","dependencies_parsed_at":"2022-09-13T12:41:01.069Z","dependency_job_id":null,"html_url":"https://github.com/mamal72/dgkala","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fdgkala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fdgkala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fdgkala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mamal72%2Fdgkala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mamal72","download_url":"https://codeload.github.com/mamal72/dgkala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221432728,"owners_count":16820067,"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","scraper","shopping"],"created_at":"2024-10-25T14:33:06.783Z","updated_at":"2024-10-25T14:33:20.918Z","avatar_url":"https://github.com/mamal72.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/mamal72/dgkala.svg?branch=master)](https://travis-ci.org/mamal72/dgkala)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mamal72/dgkala)](https://goreportcard.com/report/github.com/mamal72/dgkala)\n[![Coverage Status](https://coveralls.io/repos/github/mamal72/dgkala/badge.svg?branch=master)](https://coveralls.io/github/mamal72/dgkala?branch=master)\n[![GoDoc](https://godoc.org/github.com/mamal72/dgkala?status.svg)](https://godoc.org/github.com/mamal72/dgkala)\n[![license](https://img.shields.io/github/license/mamal72/dgkala.svg)](https://github.com/mamal72/dgkala/blob/master/LICENSE)\n\n# dgkala\n\nThis is a simple Go package to interact with [Digikala](https://www.digikala.com) website.\n\n\n## Installation\n\n```bash\ngo get github.com/mamal72/dgkala\n```\n\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/mamal72/dgkala\"\n)\n\nfunc main() {\n    // Get incredible offers\n    offers, err := dgkala.IncredibleOffers() // []IncredibleOffer, error\n    fmt.Printf(\"%+v\\n\", offers)\n\n    // Search for a product by a string keyword\n    searchResult, err := dgkala.Search(\"case-logic-dlbp\") // SearchResult, error\n    fmt.Printf(\"%+v\\n\", searchResult)\n\n    // Get details of a product by ID\n    productByID, err := dgkala.GetProductByID(6071) // ProductByID, error\n    fmt.Printf(\"%+v\\n\", productByID)\n}\n```\n\n\n## Tests\n\n```bash\ngo test\n```\n\n\n## Ideas || Issues\n\nJust fill an issue and describe it. I'll check it ASAP!\n\n\n## Contribution\n\nYou can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. :heart:\n\nRemember to write a few tests for your code before sending pull requests.\n\n\n## License\n\nLicensed under the [MIT License](https://github.com/mamal72/dgkala/blob/master/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamal72%2Fdgkala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmamal72%2Fdgkala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmamal72%2Fdgkala/lists"}