New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xyz.juandiii:name-com-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xyz.juandiii:name-com-api

Unofficial Name.Com API V4 Support Java 11 and above

  • 1.0.10
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

🌎 Name.com Library

Supported Java 11 and above GitHub Workflow Status

Unofficial Name.com library for Java is an API V4 Rest is accessed over HTTPS. You can use to consuming resources through API Name.com

This is used by the library HTTP client also known as Resteasy

⚙️ Configuration

You need to set configuration the properties username, token and set them properly. Name.com gives your credentials.

KeyDescriptionRequired
usernameUsername of Name.com
tokenSecret token of Name.com

📄 Example

We 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

👨🏻‍💻 Example usage (Sync)

// Get an instance
Name client = Name.getInstance("username", "token-123");
// Consuming an endpoint
// Get all domains
ListDomain domains = client.domains().getDomains();

👨🏻‍💻 Example usage (asynchronous)

// Get an instance asynchronous
NameAsync name = NameAsync.getInstance("username", "token-123");
// Get List domain in asynchronous
CompletionStage<ListDomain> domains = name.async().getDomains();
domains.whenComplete((listDomain, throwable) -> {
  listDomain.getDomains().forEach(domain -> System.out.println(domain.getDomainName()));
});

😇 Contribution

To be honest

FAQs

Package last updated on 03 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc