{"id":20764690,"url":"https://github.com/bounoable/deepl","last_synced_at":"2025-04-30T08:50:29.928Z","repository":{"id":47000723,"uuid":"314090021","full_name":"bounoable/deepl","owner":"bounoable","description":"DeepL Pro API client for Go.","archived":false,"fork":false,"pushed_at":"2024-09-17T00:42:30.000Z","size":28,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-18T05:09:38.348Z","etag":null,"topics":["api","client","deepl","glossary","go","golang","pro","translator"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bounoable.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":"2020-11-19T00:08:32.000Z","updated_at":"2024-09-17T00:42:05.000Z","dependencies_parsed_at":"2023-10-20T18:35:21.638Z","dependency_job_id":null,"html_url":"https://github.com/bounoable/deepl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fdeepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fdeepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fdeepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bounoable%2Fdeepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bounoable","download_url":"https://codeload.github.com/bounoable/deepl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225028977,"owners_count":17409614,"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","client","deepl","glossary","go","golang","pro","translator"],"created_at":"2024-11-17T10:53:21.098Z","updated_at":"2024-11-17T10:53:21.592Z","avatar_url":"https://github.com/bounoable.png","language":"Go","readme":"# DeepL Pro API client\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/bounoable/deepl)](https://pkg.go.dev/github.com/bounoable/deepl)\n\nClient library for the [**DeepL Pro API**](https://deepl.com).\n\n## Installation\n\n```sh\ngo get github.com/bounoable/deepl\n```\n\n## Usage\n\nSee the [examples](./example_test.go).\n\n```go\nimport (\n  \"github.com/bounoable/deepl\"\n)\n\nclient := deepl.New(\"your-auth-key\")\n\ntranslated, sourceLang, err := client.Translate(\n  context.TODO(),\n  \"Hello, world\",\n  deepl.Chinese,\n)\nif err != nil {\n  log.Fatal(err)\n}\n\nlog.Println(fmt.Sprintf(\"source language: %s\", sourceLang))\nlog.Println(translated)\n```\n\n## Testing\n\nYou can test the library against the real DeepL API by running the following command.\n\n**CAUTION: Runnning these tests will add to your usage and therefore will be billed!**\n\n```sh\nmake e2e-test authKey=YOUR_AUTH_KEY\n```\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounoable%2Fdeepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbounoable%2Fdeepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbounoable%2Fdeepl/lists"}