inwx-rb 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +39 -5
- data/inwx-rb.gemspec +2 -2
- data/lib/inwx/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b218ae806633a8ce3fbd19c0897325288081e8a
|
4
|
+
data.tar.gz: 7656147cb5ce6082c9e07d2161ce6bcacbe5101e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480321ebf006454885a29c95a3d07bbadfc9afba1f0540f941ff87e7cccb48d9255a21aae33703f9e2ee717133cf83db6f5a63de1190ff557362e7b1da46c2b7
|
7
|
+
data.tar.gz: 1dd32c5c214916c870e1ce974a7cf08320a51a41f9dd5113fd6845d8dffd98eb0a5386f53b28fb810d31a423bd44de28474332287cecf707b98ec6beed2ed26c
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# INWX::Domrobot
|
2
2
|
|
3
|
-
|
3
|
+
You can access all functions of our frontend via an application programming interface (API). Our API is based on the XML-RPC protocol and thus can be easily addressed by almost all programming languages. The documentation and programming examples in PHP, Java, Ruby and Python can be downloaded here.
|
4
4
|
|
5
|
-
|
5
|
+
There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OTE system no actions will be charged. So you can test how to register domains etc.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -20,9 +20,38 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
$ gem install inwx-rb
|
22
22
|
|
23
|
+
|
24
|
+
## Documentation
|
25
|
+
|
26
|
+
You can view a detailed description of the API functions in our documentation. The documentation as PDF ist part of the Projekt. You also can read the documentation online http://www.inwx.de/en/help/apidoc
|
27
|
+
|
23
28
|
## Usage
|
24
29
|
|
25
|
-
|
30
|
+
```ruby
|
31
|
+
require "inwx/domrobot"
|
32
|
+
require "yaml"
|
33
|
+
|
34
|
+
addr = "api.ote.domrobot.com"
|
35
|
+
# addr = "api.domrobot.com"
|
36
|
+
user = "your_username"
|
37
|
+
pass = "your_password"
|
38
|
+
|
39
|
+
domrobot = INWX::Domrobot.new(addr)
|
40
|
+
|
41
|
+
result = domrobot.login(user,pass)
|
42
|
+
puts YAML::dump(result)
|
43
|
+
|
44
|
+
object = "domain"
|
45
|
+
method = "check"
|
46
|
+
|
47
|
+
params = { :domain => "mydomain.com" }
|
48
|
+
|
49
|
+
result = domrobot.call(object, method, params)
|
50
|
+
|
51
|
+
puts YAML::dump(result)
|
52
|
+
```
|
53
|
+
|
54
|
+
You can also look at the example.rb in the Project.
|
26
55
|
|
27
56
|
## Development
|
28
57
|
|
@@ -32,8 +61,13 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
61
|
|
33
62
|
## Contributing
|
34
63
|
|
35
|
-
1. Fork it ( https://github.com/
|
64
|
+
1. Fork it ( https://github.com/steigr/inwx-rb/fork )
|
36
65
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
66
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
67
|
4. Push to the branch (`git push origin my-new-feature`)
|
39
68
|
5. Create a new Pull Request
|
69
|
+
|
70
|
+
|
71
|
+
## License
|
72
|
+
|
73
|
+
MIT
|
data/inwx-rb.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'inwx/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "inwx-rb"
|
8
8
|
spec.version = INWX::VERSION
|
9
|
-
spec.authors = ["Mathias Kaufmann"]
|
10
|
-
spec.email = ["me@stei.gr"]
|
9
|
+
spec.authors = ["Mathias Kaufmann","InterNetworX Ltd. & Co. KG"]
|
10
|
+
spec.email = ["me@stei.gr","info@inwx.de"]
|
11
11
|
|
12
12
|
spec.summary = %q{INWX XML-RPC client.}
|
13
13
|
spec.description = %q{INWX XML-RPC client.}
|
data/lib/inwx/version.rb
CHANGED
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inwx-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Kaufmann
|
8
|
+
- InterNetworX Ltd. & Co. KG
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
@@ -41,6 +42,7 @@ dependencies:
|
|
41
42
|
description: INWX XML-RPC client.
|
42
43
|
email:
|
43
44
|
- me@stei.gr
|
45
|
+
- info@inwx.de
|
44
46
|
executables: []
|
45
47
|
extensions: []
|
46
48
|
extra_rdoc_files: []
|