{"id":15475936,"url":"https://github.com/camilamaia/testing-bot-client-api","last_synced_at":"2025-03-28T13:26:31.966Z","repository":{"id":73076185,"uuid":"88751373","full_name":"camilamaia/testing-bot-client-api","owner":"camilamaia","description":"Client gem to easily interact with TestingBot Api","archived":false,"fork":false,"pushed_at":"2023-07-04T12:29:51.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T02:29:24.451Z","etag":null,"topics":["api","gem","interview-test","ruby"],"latest_commit_sha":null,"homepage":"https://testingbot.com/support/api","language":"Ruby","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/camilamaia.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":"2017-04-19T13:56:47.000Z","updated_at":"2023-07-04T12:29:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7c60625-b34c-456a-a277-2f83ec02f316","html_url":"https://github.com/camilamaia/testing-bot-client-api","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.18181818181818177","last_synced_commit":"91dbbb29b654605e384085b21cf7eeab5e82d1db"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camilamaia%2Ftesting-bot-client-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camilamaia%2Ftesting-bot-client-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camilamaia%2Ftesting-bot-client-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camilamaia%2Ftesting-bot-client-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camilamaia","download_url":"https://codeload.github.com/camilamaia/testing-bot-client-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246036217,"owners_count":20713209,"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","gem","interview-test","ruby"],"created_at":"2024-10-02T03:21:25.471Z","updated_at":"2025-03-28T13:26:31.944Z","avatar_url":"https://github.com/camilamaia.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestingBot Client Api\nClient gem to easily interact with the TestingBot Api https://testingbot.com/support/api\n\n\n## How to install?\n\nYou can install the api testingbot ruby-gem by running on your commandline.\n\n``` bash\n $ git clone git@github.com:camilamaia/api.git\n $ cd api\n $ gem build api.gemspec\n $ gem install api-0.1.0.gem\n ```\n \n## Set up\n\nAfter you installed the gem you need to run a one part setup. Type api in your commandline and fill in the API key and API secret you obtained on testingbot.com\n\n``` bash\n $ api\n```\n\n## Usage\n\n### Configurations\n\n``` ruby\n $ require 'api'\n $ Api.config\n $ Api.config = { :client_key =\u003e \"bogus\", :client_secret =\u003e \"0000\" }\n $ Api.reset_config!\n```\n\n### User\n\n``` ruby\n $ require 'api'\n $ Api::User.get_info\n $ Api::User.update_info({ \"first_name\" =\u003e new_name })\n```\n\n### Tests\n\n``` ruby\n $ require 'api'\n $ Api::Tests.get_all\n $ Api::Tests.get_single_test(123423423423423) # where 123423423423423 is the test id\n $ Api::Tests.delete_test(123423423423423) # where 123423423423423 is the test id\n```\n\n### TestLab tests\n\n``` ruby\n $ require 'api'\n $ Api::TestlabTests.get_all\n $ Api::TestlabTests.get_single_test(123423423423423)  # where 123423423423423 is the test id\n $ Api::TestlabTests.delete_test(123423423423423) # where 123423423423423 is the test id\n```\n\n## Test this gem\n\nThe tests for this gem are located in the spec folder, you can run them with this Rake task:\n\n``` bash\n  rake spec\n```\n\n## More information\n\nGet more information on testingbot.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamilamaia%2Ftesting-bot-client-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamilamaia%2Ftesting-bot-client-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamilamaia%2Ftesting-bot-client-api/lists"}