{"id":25255474,"url":"https://github.com/matt0550/kenamobile-rest-api","last_synced_at":"2025-10-15T03:27:08.386Z","repository":{"id":256193131,"uuid":"854529964","full_name":"Matt0550/KenaMobile-rest-api","owner":"Matt0550","description":"An unofficial REST API for Kena Mobile website.","archived":false,"fork":false,"pushed_at":"2025-01-20T22:47:42.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:43:57.380Z","etag":null,"topics":["kenamobile","python","rest-api"],"latest_commit_sha":null,"homepage":"https://kena-api.cloud.matteosillitti.it/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Matt0550.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}},"created_at":"2024-09-09T10:43:39.000Z","updated_at":"2025-01-20T22:47:46.000Z","dependencies_parsed_at":"2025-02-12T05:56:26.841Z","dependency_job_id":"56d18b7d-4707-44e0-b111-19038781a7c9","html_url":"https://github.com/Matt0550/KenaMobile-rest-api","commit_stats":null,"previous_names":["matt0550/kenamobile-scraping-api","matt0550/kenamobile-rest-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Matt0550/KenaMobile-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matt0550%2FKenaMobile-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matt0550%2FKenaMobile-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matt0550%2FKenaMobile-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matt0550%2FKenaMobile-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Matt0550","download_url":"https://codeload.github.com/Matt0550/KenaMobile-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matt0550%2FKenaMobile-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279042705,"owners_count":26091310,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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":["kenamobile","python","rest-api"],"created_at":"2025-02-12T05:56:18.199Z","updated_at":"2025-10-15T03:27:08.351Z","avatar_url":"https://github.com/Matt0550.png","language":"Python","funding_links":["https://ko-fi.com/matt05","https://www.buymeacoffee.com/Matt0550","https://paypal.me/sillittimatteo"],"categories":[],"sub_categories":[],"readme":"[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![Discord][discord-shield]][discord-url]\n[![Docker Pulls][docker-shield]][docker-url]\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Matt0550/KenaMobile-rest-api\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/Matt0550/public-gaac/main/uploads/kena_mobile_unofficial_rest_api.png\" alt=\"Logo\" height=\"120\" style=\"border-radius: 10px\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eKena Mobile Unofficial REST API\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    An unofficial REST API for Kena Mobile website.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/Matt0550/KenaMobile-rest-api/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Matt0550/KenaMobile-rest-api/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\nThis project is for educational purposes only. Please use this project responsibly. \n\nCopyright and all rights belong to the respective owners.\n\n## Features\n\n- Get customer information\n- Get user offers information\n- Get user credit information\n \n## API Endpoints\n\u003e [!TIP]\n\u003e The API is self-documented. You can access the Swagger UI at `/docs` and the ReDoc UI at `/redoc`.\n\n- `/getCreditInfo?phoneNumber={phone}`: Get the credit information of a user. Phone is a string and is required.\n- `/getCustomerDTO?phoneNumber={phone}`: Get the customer information of a user. Phone is a string and is required.\n- `/getPromo?phoneNumber={phone}`: Get the offers information of a user. Phone is a string and is required.\n  \n\u003e [!WARNING]\n\u003e For all the endpoints you need to pass the `PHPSESSID` in the body of the request. You can get it by logging in to the Kena Mobile website and copying the `PHPSESSID` cookie. \n\n\n## TO-DO\n- [X] Add Dockerfile\n- [X] Add Docker Compose\n- [ ] Add more endpoints\n\n\n## Public instance of the API\nYou can use the public instance of the API at `https://kena-api.cloud.matteosillitti.it/` (click [here](https://kena-api.cloud.matteosillitti.it/)).\nLimitations: 2 requests per minute, 20 requests per day. If you need more requests, [contact me](#help---feedback).\n\n## Environment Variables (docker)\n| Variable | Description | Default |\n| :--- | :--- | :--- |\n| `PUID` | User ID | `1000` |\n| `PGID` | Group ID | `1000` |\n\n## Installation - Using Docker Compose (recommended)\nClone the project\n\n```yml\nversion: '3'\n\nservices:\n  kenamobile_restapi:\n    image: matt0550/kenamobile_restapi\n    environment:\n      - PUID=1000     # UID of the user inside the container\n      - PGID=1000     # GID of the user inside the container\n    ports:\n      - 5000:5000\n    restart: unless-stopped\n```\n\nRun the container with `docker-compose up -d`\n\n## Installation - Using Docker Run\nPull the image\n\n```bash\n  docker run -d -p 5000:5000 -e PUID=1000 -e PGID=1000 matt0550/kenamobile_restapi\n```\n\n## Installation - Self-Host or docker build\n\nClone the project\n\n```bash\n  git clone https://github.com/Matt0550/KenaMobile-rest-api\n```\n\nGo to the project directory\n\n```bash\n  cd KenaMobile-rest-api-master\n```\n\nOPTIONAL: use docker to build the image\n\n```bash\n  docker build -t KenaMobile-rest-api .\n```\n\nIf you don't want to use docker, skip this step.\nElse, change the `image` in `docker-compose.yml` with the image name you used.\nRun the container with `docker-compose up -d`\n\nInstall dependencies\n\n```bash\n  pip install -r requirements.txt\n```\n\nStart the REST API (after setting the environment variables)\n\n```bash\n  cd api\n  uvicorn api:app\n```\n\n## Help - feedback\nYou can contact me on:\n\nDiscord: https://matt05.it/discord\n\nTelegram: https://matt05.it/telegram\n\nMail: \u003ca href=\"mailto:mail@matteosillitti.com\"\u003email@matteosillitti.com\u003c/a\u003e\n\n## License\n\n[GNU GPLv3](https://choosealicense.com/licenses/gpl-3.0/)\n\n## Support me\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/matt05)\n\n[![buy-me-a-coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/Matt0550)\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/sillittimatteo)\n\n[contributors-shield]: https://img.shields.io/github/contributors/Matt0550/KenaMobile-rest-api.svg?style=for-the-badge\n[contributors-url]: https://github.com/Matt0550/KenaMobile-rest-api/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/Matt0550/KenaMobile-rest-api.svg?style=for-the-badge\n[forks-url]: https://github.com/Matt0550/KenaMobile-rest-api/network/members\n[stars-shield]: https://img.shields.io/github/stars/Matt0550/KenaMobile-rest-api.svg?style=for-the-badge\n[stars-url]: https://github.com/Matt0550/KenaMobile-rest-api/stargazers\n[issues-shield]: https://img.shields.io/github/issues/Matt0550/KenaMobile-rest-api.svg?style=for-the-badge\n[issues-url]: https://github.com/Matt0550/KenaMobile-rest-api/issues\n[license-shield]: https://img.shields.io/github/license/Matt0550/KenaMobile-rest-api.svg?style=for-the-badge\n[license-url]: https://github.com/Matt0550/KenaMobile-rest-api/blob/master/LICENSE\n[discord-shield]: https://img.shields.io/discord/828990499507404820?style=for-the-badge\n[discord-url]: https://matt05.it/discord\n[docker-shield]: https://img.shields.io/docker/pulls/matt0550/kenamobile_restapi?style=for-the-badge\n[docker-url]: https://hub.docker.com/r/matt0550/kenamobile_restapi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt0550%2Fkenamobile-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt0550%2Fkenamobile-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt0550%2Fkenamobile-rest-api/lists"}