{"id":15044730,"url":"https://github.com/juandiii/namecom-api","last_synced_at":"2025-04-10T00:42:57.808Z","repository":{"id":46618668,"uuid":"408535472","full_name":"juandiii/namecom-api","owner":"juandiii","description":"Unofficial Name.com API V4 Support Java 11 and above","archived":false,"fork":false,"pushed_at":"2022-12-16T02:12:01.000Z","size":42,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T00:42:51.944Z","etag":null,"topics":["domain","hacktoberfest","hacktoberfest2021","java","java11","java17","name","namecom","nameserver","reseller","resellers","restful-api"],"latest_commit_sha":null,"homepage":"","language":"Java","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/juandiii.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}},"created_at":"2021-09-20T17:20:25.000Z","updated_at":"2021-10-04T19:16:37.000Z","dependencies_parsed_at":"2023-01-29T07:45:40.847Z","dependency_job_id":null,"html_url":"https://github.com/juandiii/namecom-api","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandiii%2Fnamecom-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandiii%2Fnamecom-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandiii%2Fnamecom-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juandiii%2Fnamecom-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juandiii","download_url":"https://codeload.github.com/juandiii/namecom-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137998,"owners_count":21053775,"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":["domain","hacktoberfest","hacktoberfest2021","java","java11","java17","name","namecom","nameserver","reseller","resellers","restful-api"],"created_at":"2024-09-24T20:50:57.787Z","updated_at":"2025-04-10T00:42:57.789Z","avatar_url":"https://github.com/juandiii.png","language":"Java","readme":"# 🌎 Name.com Library\n\n![Supported Java 11 and above](https://img.shields.io/badge/JVM-11--17-brightgreen?logo=Java)\n![GitHub Workflow Status](\u003chttps://img.shields.io/github/workflow/status/juandiii/namecom-api/Build Java and deploy to MVN Repositories\u003e)\n\nUnofficial [**Name.com**](https://name.com) library for Java is an API V4 Rest is accessed over HTTPS. You can use to consuming resources through API [**Name.com**](https://name.com)\n\nThis is used by the library HTTP client also known as [**Resteasy**](https://github.com/resteasy/resteasy)\n\n# ⚙️ Configuration\n\nYou need to set configuration the properties `username`, `token` and set them properly. Name.com gives your credentials.\n\n\n| Key            | Description                 | Required  |\n|----------------|-----------------------------|-----------|\n| username       | Username of Name.com        | ✅        |\n| token          | Secret token of Name.com    | ✅        |\n\n# 📄 Example\n\nWe have two options for synchronous and asynchronous for some application you can use imperative programming or reactive programming. In my case I do to set reactive programming with Smallrye Mutiny with the framework Quarkus\n\n## 👨🏻‍💻 Example usage (Sync)\n\n```java\n// Get an instance\nName client = Name.getInstance(\"username\", \"token-123\");\n// Consuming an endpoint\n// Get all domains\nListDomain domains = client.domains().getDomains();\n```\n\n## 👨🏻‍💻 Example usage (asynchronous)\n\n```java\n// Get an instance asynchronous\nNameAsync name = NameAsync.getInstance(\"username\", \"token-123\");\n// Get List domain in asynchronous\nCompletionStage\u003cListDomain\u003e domains = name.async().getDomains();\ndomains.whenComplete((listDomain, throwable) -\u003e {\n  listDomain.getDomains().forEach(domain -\u003e System.out.println(domain.getDomainName()));\n});\n```\n\n# 😇 Contribution\nTo be honest\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuandiii%2Fnamecom-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuandiii%2Fnamecom-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuandiii%2Fnamecom-api/lists"}