Skip to content

Instantly share code, notes, and snippets.

@mimeoconnect
mimeoconnect / doc-apis-card-order-quote-GET.php
Created August 19, 2011 04:48
Doc APIs - Card - Order Quote
<?php
$userid = "[user id]";
$userkey = "[user key]";
$pdfurl = "[url to pdf]";
$size = "4.25x5.5";
$paper = "White Uncoated 60#";
$coating = "None";
@mimeoconnect
mimeoconnect / doc-apis-card-shippingoptions-GET.php
Created August 19, 2011 04:46
Doc APIs - Card - Shipping Options
<?php
$userid = "[user id]";
$userkey = "[user key]";
$pdfurl = "https://s3.amazonaws.com/kinlane-productions/pdf-samples/sample-card-425x55.pdf";
$size = "4.25x5.5";
$paper = "White Uncoated 60#";
$coating = "None";
@mimeoconnect
mimeoconnect / doc-apis-card-quote-GET.php
Created August 19, 2011 04:44
Doc APIs - Card - Quote
<?php
$userid = "[user id]";
$userkey = "[user key]";
$pdfurl = "https://s3.amazonaws.com/kinlane-productions/pdf-samples/sample-card-425x55.pdf";
$size = "4.25x5.5";
$paper = "White Uncoated 60#";
$coating = "None";
@mimeoconnect
mimeoconnect / doc-apis-flyer-proof-GET.php
Created August 19, 2011 04:41
Doc APIs - Flyer - Proof - GET
<?php
$Proof_ID = "[the id of your proof]";
$userid = "[user id]";
$userkey = "[user key]";
$format = "json";
$environment = "Sandbox";
$URL = 'https://developer.mimeo.com/api/spiralnotebook/'.$Proof_ID.'/';
@mimeoconnect
mimeoconnect / doc-apis-card-proof-POST.php
Created August 19, 2011 04:39
Doc APIs - Card - Proof - POST
<?php
$pdfurl = "https://s3.amazonaws.com/kinlane-productions/pdf-samples/sample-card-425x55.pdf";
$userid = "[user id]";
$userkey = "[user key]";
$format = "json";
$environment = "Sandbox";
$curl_handle = curl_init();
@mimeoconnect
mimeoconnect / doc-apis-flyer-order-status-GET.php
Created August 18, 2011 20:33
Doc APIs - Flyer - Order Status
<?php
$userid = "[user id]";
$userkey = "[user key]";
$orderId = "[id of order]";
$format = "json";
$environment = "Sandbox";
$URL = 'https://developer.mimeo.com/api/flyer/orderstatus';
@mimeoconnect
mimeoconnect / doc-apis-flyer-place-order-POST.php
Created August 18, 2011 20:31
Doc APIs - Flyer - Place Order
<?php
$userid = "[user id]";
$userkey = "[user key]";
$frontpdfurl = "[url of PDF for front]";
$backpdfurl = "[url of PDF for back]";
$layout = "Portrait";
$fold = "No Fold";
$color = "Color";
@mimeoconnect
mimeoconnect / doc-apis-flyer-order-quote-GET.php
Created August 18, 2011 20:27
Doc APIs - Flyer - Order Quote
<?php
$userid = "[user id]";
$userkey = "[user key]";
$frontpdfurl = "[url of PDF for front]";
$backpdfurl = "[url of PDF for back]";
$layout = "Portrait";
$fold = "No Fold";
$color = "Color";
@mimeoconnect
mimeoconnect / doc-apis-flyer-shippingoptions-GET.php
Created August 18, 2011 20:26
Doc APIs - Flyer - Shipping Options
<?php
$userid = "[user id]";
$userkey = "[user key]";
$frontpdfurl = "[url of PDF for front]";
$backpdfurl = "[url of PDF for back]";
$layout = "Portrait";
$fold = "No Fold";
$color = "Color";
@mimeoconnect
mimeoconnect / doc-apis-flyer-quote-GET.php
Created August 18, 2011 20:23
Doc APIs - Flyer - Quote
<?php
$userid = "[user id]";
$userkey = "[user key]";
$frontpdfurl = "[url of PDF for front]";
$backpdfurl = "[url of PDF for back]";
$layout = "Portrait";
$fold = "No Fold";
$color = "Color";