{"id":21351987,"url":"https://github.com/td99/ace-api-task","last_synced_at":"2025-07-12T20:31:59.579Z","repository":{"id":196944925,"uuid":"697501443","full_name":"TD99/ace-api-task","owner":"TD99","description":"Preparatory task for job interview","archived":false,"fork":false,"pushed_at":"2023-10-02T13:27:17.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-02T17:07:15.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/TD99.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}},"created_at":"2023-09-27T21:29:51.000Z","updated_at":"2023-09-27T22:08:58.000Z","dependencies_parsed_at":"2023-09-28T10:03:01.353Z","dependency_job_id":null,"html_url":"https://github.com/TD99/ace-api-task","commit_stats":null,"previous_names":["td99/ace-api-task"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Face-api-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Face-api-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Face-api-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TD99%2Face-api-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TD99","download_url":"https://codeload.github.com/TD99/ace-api-task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225834372,"owners_count":17531471,"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":[],"created_at":"2024-11-22T03:12:05.409Z","updated_at":"2024-11-22T03:12:06.156Z","avatar_url":"https://github.com/TD99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACE API\n\nThis is a demo project for a job interview with ACE digital solutions. The project is built with C# and ASP.NET Core and is hosted on Azure App Service (Linux).\n\n## Demo\n\nYou can access the demo at the following URLs:\n\n- (🛑 not running) Primary: [https://ace-api.cloud.tcraft.ch/\\*](https://ace-api.cloud.tcraft.ch/)\n- (🛑 not running) Fallback: [https://ace-api20230927212456.azurewebsites.net/\\*](https://ace-api20230927212456.azurewebsites.net/)\n\n_Please replace \\* with the specific API endpoint you want to access._\n\n## Endpoints\n\nThe API provides the following endpoints:\n\n1. GetTemp\n\n   - Endpoint: [/api/temp](https://ace-api.cloud.tcraft.ch/api/temp)\n   - Method: GET\n   - Query Parameters:\n     - celsius: The temperature in Celsius to convert to Kelvin.\n     - kelvin: The temperature in Kelvin to convert to Celsius.\n   - Description: Converts a temperature from Celsius to Kelvin or from Kelvin to Celsius. You should specify either celsius or kelvin, but not both.\n   - Examples:\n     - To convert 25 degrees Celsius to Kelvin, you would use [/api/temp?celsius=25](https://ace-api.cloud.tcraft.ch/api/temp?celsius=25).\n     - To convert 298.15 Kelvin to Celsius, you would use [/api/temp?kelvin=298.15](https://ace-api.cloud.tcraft.ch/api/temp?kelvin=298.15).\n\n2. GetPrimeNumbers\n\n   - Endpoint: [/api/prime](https://ace-api.cloud.tcraft.ch/api/prime)\n   - Method: GET\n   - Query Parameters:\n     - limit: The upper limit for generating prime numbers.\n   - Description: Generates a list of prime numbers up to a specified limit.\n   - Example: To get all prime numbers up to 100, you would use [/api/prime?limit=100](https://ace-api.cloud.tcraft.ch/api/prime?limit=100)\n\n3. GetFibonacciNumber\n   - Endpoint: [/api/number](https://ace-api.cloud.tcraft.ch/api/number)\n   - Method: GET\n   - Query Parameters:\n     - n: The position of the Fibonacci number to generate.\n   - Description: Generates the nth Fibonacci number.\n   - Example: To get the 10th Fibonacci number, you would use [/api/number?n=10](https://ace-api.cloud.tcraft.ch/api/number?n=10)\n\n_Please refer to the [Postman Collection](src/Ace.Api/ace_api.postman_collection.json) for more details on how to use these endpoints._\n\n## Testing\n\nThe project includes unit tests, which are written using the xUnit framework. The tests are designed to ensure that the API behaves as expected under various conditions. They cover both positive cases (where the API should return a successful response) and negative cases (where the API should handle errors gracefully).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftd99%2Face-api-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftd99%2Face-api-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftd99%2Face-api-task/lists"}