Coder Social home page Coder Social logo

dnsimple-java's Introduction

A Java wrapper for the DNSimple API

DNSimple let you do some very cool and useful things with domains via their REST API.

This library was created for internal use by Nimble Servers, hopefully it will be useful to others too.

Example Usage

There is currently only support for authentication with your API key, not your password.

DnsimpleContext context = new DnsimpleContext("[email protected]", "apikey");
List<Domain> domains = context.getDomains();
Domain firstDomain = domains.get(0);
List<Record> records = context.getRecords(firstDomain);
context.close();

Implemented Features

Not all of DNSimple's features are implemented, here is what we have so far:

  • Getting details about a specific domain
  • Listing all domains
  • Checking domain availability
  • Enabling/disabling auto-renewal for domains
  • Setting name servers for domains
  • Getting DNS records for a domain
  • Adding DNS records
  • Updating DNS records

Design Goals

  • Few dependencies (just GSON and Apache HttpClient).
  • Simple and easy to read code structure.
  • Thread safety.

Installation

This library is not on Maven central (yet) so must be compiled by yourself.

  1. Download and install Maven 3.
  2. Get the dnsimple-java source code, either with Git:
    • with Git: git clone git://github.com/milkmansrevenge/dnsimple-java.git
    • or from the Zip file.
  3. Compile with Maven (from within the same directory as pom.xml): mvn install
  4. In the target directory there should be two JAR files. The larger one contains all the other dependencies.
    • dnsimple-java-<version>.jar and
    • dnsimple-java-<version>-jar-with-dependencies.jar

dnsimple-java's People

Contributors

milkmansrevenge avatar tomakehurst avatar weppos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dnsimple-java's Issues

you should take a shot at gradle(best of maven and ant combined)

If you agree, I might just convert this project for you if I have time. If you don't like gradle (even though it is ALOT less configuration code), then just simply close this issue as I realize everyone has their preferences.

I used to like maven until I switched and my configuration code went to just 5 lines on one project from mavens 80 lines.

later,
Dean

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.