Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dotstudiopro/dotstudiopro-api/archive/refs/heads/master.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
BETA
This plugin is currently in beta. You can download it and play with it as much as you want. We are very active with updates so make sure to watch out for new versions of the plugin.
dotstudioPRO API Class
This class (dotstudioPROAPI) allows programmers to access our API without having to create the connections theirselves.
Installation
1. Create a dotstudioPRO account.
2. Once logged in, go to the User Account section and get your API key.
3. Install dotstudioPRO Wordpress Plugin from your Wordpress dashboard or unzip the plugin archive in the wp-content/plugins directory.
4. Activate the plugin through the Plugins menu in Wordpress.
5. Go to the dotstudioPRO left menu configuration page and fill in your API key.
6. Start using the provided class.
Instantiation
The API class must be instantiated via the following:
dotstudioPROAPI Methods
gettoken()
Used to get a new access token via the dotstudioPRO API
settoken($token)
$token String The access token
Set the access token in the class object
apinewtoken()
Get a new API token.
apitokencheck()
Check if we have an API access token, and it's current. If it isn't, get a new one.
getcountry()
Get the 2-letter cou