{"id":24319456,"url":"https://github.com/cemayan/event-scraper","last_synced_at":"2026-04-09T16:11:37.744Z","repository":{"id":53703546,"uuid":"521538298","full_name":"cemayan/event-scraper","owner":"cemayan","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-10T10:35:16.000Z","size":159,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T15:45:50.206Z","etag":null,"topics":["docker","fiber","kubernetes","microservices","postgresql","rabbitmq"],"latest_commit_sha":null,"homepage":"","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/cemayan.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}},"created_at":"2022-08-05T07:03:58.000Z","updated_at":"2024-04-17T16:50:32.000Z","dependencies_parsed_at":"2022-08-25T12:40:14.459Z","dependency_job_id":null,"html_url":"https://github.com/cemayan/event-scraper","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/cemayan%2Fevent-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2Fevent-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2Fevent-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cemayan%2Fevent-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cemayan","download_url":"https://codeload.github.com/cemayan/event-scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242925984,"owners_count":20207752,"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":["docker","fiber","kubernetes","microservices","postgresql","rabbitmq"],"created_at":"2025-01-17T15:33:32.786Z","updated_at":"2026-04-09T16:11:37.689Z","avatar_url":"https://github.com/cemayan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# event-scraper\n\n### Introduction\n\nEvent scraper is a event collector  which is getting data **Biletix** and **Passo**\n\nIn the future, it will be added  more provider\n\n\u003e **Biletix** is Turkey's leading ticketing company.\n\u003e **Passo** is also ticketing company in Turkey\n\nIt can be difficult to follow the events from every site. This app aims to close this gap.\n\n---\n\n### Requirements\n\nFor k8s:\n- RabbitMQ [rabbitmq-operator](https://www.rabbitmq.com/kubernetes/operator/kubectl-plugin.html)\n- PostgreSQL [kubegres](https://www.kubegres.io/doc/getting-started.html)\n- Skaffold [skaffold](https://skaffold.dev/docs/install/)\n- minikube etc [minikube](https://minikube.sigs.k8s.io/docs/start/)\n\n### Usage\n\nk8s:\n```\nskaffold dev\n```\ndocker:\n```\ndocker-compose up\n```\n\n\n### API\n\n#### User Service\n\n```http\nPOST :8089/api/v1/user\n```\n| Parameter  | Type | Description   |\n|:-----------| :--- |:--------------|\n| `username` | `string` | **Required**. |\n| `password` | `string` | **Required**. |\n| `email`    | `string` | **Optional**. |\n\nExample Response:\n\n```json\n{\n  \"message\": \"User created {john.doe john.doe@test.com}\"\n}\n```\n\n#### Authorization\n\nAPI requests require the API key.\nTo authenticate an API request, you should provide your API KEY in the **Authorization** header.\n\n```http\nPOST :8109/api/v1/auth/getToken\n```\n\n| Parameter  | Type | Description   |\n|:-----------| :--- |:--------------|\n| `username` | `string` | **Required**. |\n| `password` | `string` | **Required**. |\n\nExample Response:\n\n```json\n{\n    \"message\": \"eyJhbG...\"\n}\n```\n#### Event API Service\n\nExample Request:\n\n```http\nGET :8087/api/v1/event/provider/:provider\n```\n\nExample Response:\n\n```json\n[\n  {\n    \"id\": 26262,\n    \"Type\": \"MUSIC\",\n    \"EventName\": \"*** \",\n    \"Place\": \"Jolly Joker Vadistanbul\",\n    \"FirstDate\": \"2022-08-17 18:00:00 +0000 UTC\",\n    \"SecondDate\": \"2022-08-17 18:00:00 +0000 UTC\",\n    \"Provider\": \"BILETIX\"\n  },...\n]\n```\n\n--- \n### Documentations\n\nfor  api: \n```\ncd api \ngodoc  -http=:6060 -notes=\".*\" -index  -goroot .\n```\n\nfor  scraper:\n```\ncd scraper \ngodoc  -http=:6060 -notes=\".*\" -index  -goroot .\n```\n\nfor  user:\n```\ncd user \ngodoc  -http=:6060 -notes=\".*\" -index  -goroot .\n```\n\n---\n\n### Testing\n\nIn order to start test you should pass before the command\n\nfor api:\n```\ncd api\nENV=\"test\" go test -v -cover -coverprofile=c.out  ./...\ngo tool cover -html=c.out   \n```\n\nfor user:\n```\ncd user\nENV=\"test\" go test -v -cover -coverprofile=c.out  ./...\ngo tool cover -html=c.out   \n  \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemayan%2Fevent-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcemayan%2Fevent-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcemayan%2Fevent-scraper/lists"}