{"id":28033003,"url":"https://github.com/nerdytechy/api-timer","last_synced_at":"2026-05-01T19:32:23.628Z","repository":{"id":160005154,"uuid":"585270665","full_name":"NerdyTechy/API-Timer","owner":"NerdyTechy","description":"GitHub Actions workflow for testing the response time of endpoints on an API.","archived":false,"fork":false,"pushed_at":"2025-05-10T22:38:12.000Z","size":660,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T09:07:39.955Z","etag":null,"topics":["action","actions","api","api-test","api-timer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/NerdyTechy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"NerdyTechy","custom":["https://buymeacoffee.com/techy","https://techy.lol/stripe"]}},"created_at":"2023-01-04T18:45:30.000Z","updated_at":"2025-05-10T22:38:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"c734fc84-70b3-440c-a51f-acd5cc1b7c8d","html_url":"https://github.com/NerdyTechy/API-Timer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NerdyTechy%2FAPI-Timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NerdyTechy%2FAPI-Timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NerdyTechy%2FAPI-Timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NerdyTechy%2FAPI-Timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NerdyTechy","download_url":"https://codeload.github.com/NerdyTechy/API-Timer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253540829,"owners_count":21924537,"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":["action","actions","api","api-test","api-timer"],"created_at":"2025-05-11T09:07:45.748Z","updated_at":"2026-05-01T19:32:23.557Z","avatar_url":"https://github.com/NerdyTechy.png","language":"JavaScript","funding_links":["https://github.com/sponsors/NerdyTechy","https://buymeacoffee.com/techy","https://techy.lol/stripe"],"categories":[],"sub_categories":[],"readme":"# API-Timer\n\nGitHub Actions workflow for testing the response time of endpoints on an API.\n\n## What does it do?\n\nThis workflow allows you to measure the response time of your API endpoints with custom parameters. This means that if you are hosting your API somewhere, you can have an actions workflow check your endpoints on push to ensure they respond within a set amount of time automatically, everytime you push new code. This endpoint can also serve the purpose of checking if your API is online by setting the time limit parameter to a high value, therefore giving the API lots of time to respond.\n\n## Using this action\n\nTo use this action, create a YML file within the `.github/workflows` directory. This file can be named anything as long as it has the extention `.yml`, but we recommend calling it `api-timer.yml`.\n\nUse the following snippet in the file to setup API-Timer, changing the values that have comments next to them as needed.\n```yaml\nname: \"API Timer\"\non: \n  push:\n    branches: [ \"main\" ] # The branches that will run this action when pushed to\n\njobs:\n  api-timer:\n    runs-on: ubuntu-latest\n    name: API Timer\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Run API Tests\n        uses: NerdyTechy/API-Timer@v1\n        with:\n          time-limit: 1000 # The amount of time endpoints must respond within before the test fails in ms\n          base: \"https://api.example.com\" # The base URL of your API\n          endpoints: \"/endpoint1 /endpoint2 /endpoint3\" # A space-separated list of endpoints on the base URL to test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdytechy%2Fapi-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdytechy%2Fapi-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdytechy%2Fapi-timer/lists"}