{"id":16482924,"url":"https://github.com/lakhindarpal/my-fun-api","last_synced_at":"2025-05-15T10:34:34.630Z","repository":{"id":244491719,"uuid":"796120972","full_name":"LakhindarPal/my-fun-api","owner":"LakhindarPal","description":"FunAPI provides random compliments, fortunes, pizza ideas, life truths, and thoughts","archived":false,"fork":false,"pushed_at":"2024-06-15T04:16:25.000Z","size":133,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T06:42:47.135Z","etag":null,"topics":["compliment-generator","compliments","docker","dockerfile","fastapi","fortune","fortune-cookie","fortune-cookie-api","fortune-cookie-generator","fortune-cookies","fortunes","fun-facts","funfacts","openai","openapi3","pizza-order","render","rest-api","restful-api","swagger-ui"],"latest_commit_sha":null,"homepage":"https://my-fun-api.onrender.com","language":"Python","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/LakhindarPal.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-05-05T01:51:36.000Z","updated_at":"2024-06-15T04:16:28.000Z","dependencies_parsed_at":"2024-06-15T05:25:39.698Z","dependency_job_id":"e5bbef53-1f77-4782-aa81-447e839de313","html_url":"https://github.com/LakhindarPal/my-fun-api","commit_stats":null,"previous_names":["lakhindarpal/my-fun-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2Fmy-fun-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2Fmy-fun-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2Fmy-fun-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2Fmy-fun-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LakhindarPal","download_url":"https://codeload.github.com/LakhindarPal/my-fun-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323116,"owners_count":22051721,"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":["compliment-generator","compliments","docker","dockerfile","fastapi","fortune","fortune-cookie","fortune-cookie-api","fortune-cookie-generator","fortune-cookies","fortunes","fun-facts","funfacts","openai","openapi3","pizza-order","render","rest-api","restful-api","swagger-ui"],"created_at":"2024-10-11T13:12:28.738Z","updated_at":"2025-05-15T10:34:34.608Z","avatar_url":"https://github.com/LakhindarPal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FunAPI\n\nFunAPI is a RESTful API built with FastAPI that provides random compliments, fortunes, fun facts, pizza ideas, life truths, and thoughts.\n\n## Features\n\n- **Compliments:** Brighten up your day with random compliments.\n- **Fortunes:** Ponder upon random fortunes for insight and inspiration.\n- **Fun Facts:** Discover random useless yet entertaining facts.\n- **Pizza Ideas:** Explore unique pizza combinations for your next culinary adventure.\n- **Life Truths:** Reflect on deep insights into life's mysteries and truths.\n- **Thoughts:** Receive random thoughts to inspire, entertain, or provoke contemplation.\n\n## Usage\n\n### Base URL\n\nThe base URL for accessing the API is: `https://my-fun-api.onrender.com`\n\n### Endpoints\n\n#### Get Random Compliment\n\n```http\nGET /compliment\n```\n\nReturns a random compliment.\n\n#### Get Random Fortune\n\n```http\nGET /fortune\n```\n\nReturns a random fortune.\n\n#### Get Random Fun Fact\n\n```http\nGET /funfact\n```\n\nReturns a random fun fact.\n\n#### Get Random Pizza Idea\n\n```http\nGET /pizzaidea\n```\n\nReturns a random pizza idea.\n\n#### Get Random Life Truth\n\n```http\nGET /lifetruth\n```\n\nReturns a random life truth.\n\n#### Get Random Thought\n\n```http\nGET /thought\n```\n\nReturns a random thought.\n\n## Example\n\nTo get a random compliment, you can send a GET request to:\n\n```http\nhttps://my-fun-api.onrender.com/compliment\n```\n\nExample Response:\n\n```json\n{\n  \"success\": True,\n  \"data\": {\n    \"compliment\": \"You have a great sense of humor!\"\n  }\n}\n```\n\n## Documentation\n\nFor detailed documentation, please visit FunAPI Documentation\n\n[Scalar](https://my-fun-api.onrender.com/)\n[Swagger UI](https://my-fun-api.onrender.com/docs)\n[Redoc](https://my-fun-api.onrender.com/redoc)\n\n## Installation\n\n[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=github.com/LakhindarPal/my-fun-api)\n\n### Locally\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/LakhindarPal/my-fun-api.git\n```\n\n2. Install dependencies:\n\n```bash\ncd funapi\npip install -r requirements.txt\n```\n\n3. Run the FastAPI server:\n\n```bash\nuvicorn main:app --reload\n```\n\n## Contributing\n\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakhindarpal%2Fmy-fun-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakhindarpal%2Fmy-fun-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakhindarpal%2Fmy-fun-api/lists"}