API CONFIGURING DIGIBUG [DIGIBUG API SPEC] DIGIBUG API TERMS INTEGRATIONS/PLUGINS
 
Digibug API Spec
  • The API is an HTTP form post to the Digibug web site.
  • The form consists of name-value pairs listed below.
  • Only JPG images are supported.
  • Redirect not supported.

Parameters:

Name Description Required Length
digibug_api_version The version of the protocol being used. The current value is 100. Y 8
company_id Your company id. This will be given to you. Y 8
event_id The event id is the id of the Digibug event which has the pricelist you would like to use on your gallery. Y 8
company_subid Company sub id. This is not yet available.
N 8
partner_code For referral partners, we also have a partner_code field. This field only works for pre-approved partners. Email info@digibug.com if you want to learn more or discuss becoming a partner. This email address is being protected from spam bots, you need Javascript enabled to view it N
8
cmd The command for this post. Currently "addimg" is the only supported command. Y 8
return_url The URL used to return the user to the partner site after the order is completed. Y 128
user_id Partner user id. A unique permanent user id which identifies the user in the partners system. This is not yet available. N 64
first_name The user's first name. N 32
last_name The user's last name. N 32
email The user's email address. N 64
num_images The number of images in this post. Y 8
image_# List of URLs for the high resolution images to be ordered. These images are used for printing the order and will be pulled from the partner site at a later time. The images must be available for five days after the order is placed. Y 128
thumb_# List of URLs for the thumbnail resolution images. These images are used for display on the web site. Y 128
image_height_# List of the height of the images in pixels.
Y 8
image_width_# List of the width of the images in pixels.
Y 8
thumb_height_# List of the height of the thumbnail images in pixels.
N 8
thumb_width_# List of the width of the thumbnail images in pixels.
N 8
backtext_# List of the back text for the images. This is currently not supported N 64
title_# List of the title of the image. N 64
include_# List of flags indicating whether or not the image should be included in the order. If it is "1", the images is included in the order. If it is "0" the image is not included in the order. N 1

Examples:

<form action=”http://www.digibug.com/dapi/order.php” method=”post”>
<input type=”hidden” name=”digibug_api_version” value=”100”>
<input type=”hidden” name=”company_id” value=”your_digibug_company_id”>
<input type=”hidden” name=”event_id” value=”your_digibug_event_id”>
<input type=”hidden” name=”cmd” value=”addimg”>
<input type=”hidden” name=”return_url” value=”http://www.example.com/user”>
<input type=”hidden” name=”num_images” value=”2”>
<input type=”hidden” name=”image_1” value=”http://www.example.com/user/abcd.jpg”>
<input type=”hidden” name=”image_height_1” value=”1800”>
<input type=”hidden” name=”image_width_1” value=”1200”>
<input type=”hidden” name=”thumb_1” value=”http://www.example.com/user/abcd_thumb.jpg”>
<input type=”hidden” name=”thumb_height_1” value=”90”>
<input type=”hidden” name=”thumb_width_1” value=”60”>
<input type=”hidden” name=”title_1” value=”Picture title”>
<input type=”hidden” name=”image_2” value=”http://www.example.com/user/1234.jpg”>
<input type=”hidden” name=”image_height_2” value=”1800”>
<input type=”hidden” name=”image_width_2” value=”1200”>
<input type=”hidden” name=”thumb_2” value=”http://www.example.com/user/1234_thumb.jpg”>
<input type=”hidden” name=”thumb_height_2” value=”90”>
<input type=”hidden” name=”thumb_width_2” value=”60”>
<input type=”submit” value=”Submit”>
</form>


 
 
Sell Online
Digibug Express
Digibug Custom
Digibug Elite
 
Showcase
Digibug Express Sites
Digibug Custom Sites
Digibug Elite Sites
 
Corporate
Contact Digibug
News
Affiliate Partnerships
 
My Account
Sign Up
 
Legal
Privacy
Terms
 
© 2012 Digibug Digital Media Platform