Skip to content

favoretti/transip-api

 
 

Repository files navigation

TransIP API

image

This library aims to implement the TransIP API in Python.

Quick Start

Prerequisite

  • Make sure you have an account at TransIP
  • Enable the API (https://www.transip.nl/cp/mijn-account/#api)
  • Add your IP.
  • Generate key-pairs
    • Copy-paste the key into a file.
    • Encrypt the key $ openssl enc -aes-256-cbc -in new_key -out encrypted_key
    • Decrypt it again (for now, only unencrypted RSA is supported) $ openssl rsa -in encrypted_key -out decrypted_key
    • put decrypted key next to this readme

Setup

$ python setup.py install

Example

The command-line interpreter is a bit silly right now, it only does a getDomainNames() call.

$ transip-api
[example.com, example.org, example.net]

Documentation

Further documentation can be found in the docs directory, although this is not filled in yet.

About

Python implementation for the TransIP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Shell 1.1%