{"id":19093629,"url":"https://github.com/abbybot/abbybot-api","last_synced_at":"2025-02-22T07:53:23.424Z","repository":{"id":259324023,"uuid":"847104949","full_name":"AbbyBot/AbbyBot-API","owner":"AbbyBot","description":"AbbyBot web API for webpage and data.","archived":false,"fork":false,"pushed_at":"2024-12-08T01:54:46.000Z","size":413,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-24T05:46:12.223Z","etag":null,"topics":["api","api-gateway","bot-api","discord-api","discord-bot","discord-bot-api","dotenv","flask","mysql","requests"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AbbyBot.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":"2024-08-24T21:31:29.000Z","updated_at":"2024-12-07T00:53:13.000Z","dependencies_parsed_at":"2024-10-24T12:08:55.838Z","dependency_job_id":"4f78f1a8-0a40-49e3-85db-f09e22bd609a","html_url":"https://github.com/AbbyBot/AbbyBot-API","commit_stats":null,"previous_names":["abbybot/abbybot-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbbyBot%2FAbbyBot-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbbyBot%2FAbbyBot-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbbyBot%2FAbbyBot-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbbyBot%2FAbbyBot-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbbyBot","download_url":"https://codeload.github.com/AbbyBot/AbbyBot-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232269202,"owners_count":18497450,"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","api-gateway","bot-api","discord-api","discord-bot","discord-bot-api","dotenv","flask","mysql","requests"],"created_at":"2024-11-09T03:25:30.689Z","updated_at":"2025-02-22T07:53:23.417Z","avatar_url":"https://github.com/AbbyBot.png","language":"Python","readme":"![AbbyBot-Api](https://github.com/user-attachments/assets/d17a12fc-bb64-4b7c-88dc-529505f1a5c6)\n\n\nThis API is an integral component of the AbbyBot project, providing comprehensive data services related to Discord bot servers, users, and bot-specific information.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.10.0+-4caf50?style=flat-square\u0026logo=python\u0026logoColor=white\" alt=\"Python\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MySQL-v8.0-ffeb3b?style=flat-square\u0026logo=mysql\u0026logoColor=white\" alt=\"MySQL\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Flask-v2.1-2196f3?style=flat-square\u0026logo=flask\u0026logoColor=white\" alt=\"Flask\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-dockerfile-4caf50?style=flat-square\u0026logo=docker\u0026logoColor=white\" alt=\"Docker\"\u003e\n  \n\u003c/div\u003e\n\n\n\n## Requirements\n- ![Python](https://img.shields.io/badge/Python-3.10.0+-4caf50?style=flat-square\u0026logo=python\u0026logoColor=white) Python 3.10.0 or later\n- ![Flask](https://img.shields.io/badge/Flask-2.1-2196f3?style=flat-square\u0026logo=flask\u0026logoColor=white) Flask\n- ![MySQL](https://img.shields.io/badge/MySQL-8.0-ffeb3b?style=flat-square\u0026logo=mysql\u0026logoColor=white) MySQL connector\n- ![dotenv](https://img.shields.io/badge/dotenv-5.0-4caf50?style=flat-square\u0026logo=dotenv\u0026logoColor=white) dotenv\n- ![requests](https://img.shields.io/badge/requests-2.26.0-2196f3?style=flat-square\u0026logo=python\u0026logoColor=white) requests\n\nMake sure you have all the necessary packages installed by running:\n```\npip install -r requirements.txt\n```\n\n## Environment Variables\n\nTo configure the API, you need a `.env` file with the following variables:\n\n```\nDB_HOST=example.com\nDB_USER=example_user\nDB_PASSWORD=example_password\nBOT_VERSION=1.0.0\nDB_DISCORD_NAME=example_discord_db\nDB_API_NAME=example_api_db\nDB_WISHLIST_NAME=example_wishlist_db\n```\n\u003eNote: The system is designed for the database user (DB_USER) to use only one host (DB_HOST) and must have the necessary read and write permissions for all databases (DB_DISCORD_NAME, DB_API_NAME, DB_WISHLIST_NAME). Therefore, everything should be unified.\n\n## Running the API\n\n1. Clone the repository and navigate to the folder.\n2. Set up your `.env` file with the appropriate values.\n3. Run the Flask application:\n```\npython main.py\n```\n\n\u003e The API will be available at `http://127.0.0.1:5002/`.\n\n\u003cdiv align=\"center\"\u003e\n\n  ## Endpoints list\n\n  \u003ca href=\"https://api.abbybotproject.com/docs\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/View%20Endpoints-API%20Docs-4caf50?style=flat-square\u0026logo=read-the-docs\u0026logoColor=white\" alt=\"View Endpoints\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbybot%2Fabbybot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabbybot%2Fabbybot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbybot%2Fabbybot-api/lists"}