{"id":17231776,"url":"https://github.com/pierreprinetti/ovh","last_synced_at":"2025-03-26T00:23:50.879Z","repository":{"id":74418268,"uuid":"195807003","full_name":"pierreprinetti/ovh","owner":"pierreprinetti","description":"OVH command-line API client","archived":false,"fork":false,"pushed_at":"2019-07-08T22:47:45.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T16:57:10.856Z","etag":null,"topics":["client","ovh","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pierreprinetti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-07-08T12:25:15.000Z","updated_at":"2019-07-09T11:22:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad0ab609-a731-439e-8d38-96b037d67a0a","html_url":"https://github.com/pierreprinetti/ovh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierreprinetti%2Fovh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierreprinetti%2Fovh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierreprinetti%2Fovh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierreprinetti%2Fovh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierreprinetti","download_url":"https://codeload.github.com/pierreprinetti/ovh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245563576,"owners_count":20636037,"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":["client","ovh","shell"],"created_at":"2024-10-15T04:58:52.675Z","updated_at":"2025-03-26T00:23:50.844Z","avatar_url":"https://github.com/pierreprinetti.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OVH shell client\n\n## Requirements\n\n### Tools\n\n* sh\n* date\n* shasum\n* cut\n\n### Create a new OVH app\n\nIn your browser: https://eu.api.ovh.com/createApp/\n\n### Give the app access to your account\n\n```\nexport OVH_AK=\u003cyour new Application Key\u003e\n```\n\nThen in the terminal:\n\n```\ncurl \\\n\t-X POST \\\n\t-H \"X-Ovh-Application: ${OVH_AK}\" \\\n\t-H \"Content-type: application/json\" \\\n\t'https://eu.api.ovh.com/1.0/auth/credential'  -d '{\n    \"accessRules\": [\n        {\n            \"method\": \"GET\",\n            \"path\": \"/*\"\n        },\n        {\n            \"method\": \"POST\",\n            \"path\": \"/*\"\n        },\n        {\n            \"method\": \"PUT\",\n            \"path\": \"/*\"\n        },\n        {\n            \"method\": \"DELETE\",\n            \"path\": \"/*\"\n        }\n    ],\n    \"redirection\":\"https://www.example.com/\"\n}'\n```\n\nClick on the link and authorise. Then pick the Consumer Key from the JSON response to the curl call:\n\n```\nexport OVH_CK=\u003cyour new Consumer Key\u003e\n```\n\n## Howto\n\nAs long as `OVH_AK` and `OVH_CK` are available in the environment, it is possible to call any endpoint in the [OVH API](https://eu.api.ovh.com/console/ \"OVH API reference\").\n\n```\n./ovh 'GET' '/domain'\n```\n\n## Known issues\n\n* This script does not currently handle form parameters.\n* Sending a body payload is untested.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierreprinetti%2Fovh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierreprinetti%2Fovh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierreprinetti%2Fovh/lists"}