6connect API - Getting Started with the SDK for PHP

The 6Connect API allows you to access to data and functions of the 6Connect web tools. The SDK for PHP will help you get this setup quickly by outlining the requirements, prerequisites and provide sample code.

Prerequisites

The API only comes with the full 6Connect IPAM product. If you would like to upgrade to the full version, please contact sales@6Connect.com.

Create Your API Credentials

To use the 6Connect SDK for PHP, you will need a 6Connect API Key and Secret Key.

To create your API Key and Secret Key:

*Note that generating a new API will automatically revoke an older API Key.

6Connect recommends that each user accessing the API have their own API key configured. However, you can alternatively setup API users by functionality or roles. While the platform is flexible, you should follow your organizations security policies.

Important!

Your Secret Key is a secret! Only you and 6Connect should ever know this information. It is important to keep it confidential to protect the privacy of your data. Store it securely and never share this key with other users or place it on other systems. Never include the secret key in requests to 6Connect, support requests to 6Connect, and never e-mail it to anyone. Do not share it outside your organization. No one who legitimately represents 6Connect will ever ask you for your Secret Key.

Requirements

Aside from following the prerequisites, you will need a basic understanding of object oriented programming in PHP and the right tools installed on your system to use the API.

Minimum Requirements

If you aren't sure what is running on your system, you can create a php page on your system and call phpinfo() and view this page in a browser, or run php -i on the command line.

Install the SDK

Download the fileĀ 6connectAPI-PHP-SDK.tgz.

Configure the SDK Security Credentials

Important!

You must setup user API access before running the sample. See the previous section "Create Your API Credentials" for more information.

Need More Information?

If you need more general information on the API, try the API Overview.
If you need information on methods available via the API, look at the API Reference.
The SDK also contains a README file with other useful information particular to php.