Skip to content

Instantly share code, notes, and snippets.

Bruce Clark BruceClark

Block or report user

Report or block BruceClark

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@BruceClark
BruceClark / js_api_example.html
Last active Aug 27, 2015
Printfection Collection Campaign Order button
View js_api_example.html
<script type="text/javascript" src="https://api.printfection.com/v2/printfection.js"></script>
<script type="text/javascript">
// Specify your API Token below this is private!
Printfection.configure({ api_token: "API-TOKEN-HERE" });
</script>
<!-- Use element data attributes to pre-fill your order data (only data-campaign-id is required). -->
<a class="pf-order-button" href="#" data-campaign-id="######">Order Swag</a>
<!-- Here are some additional data-attribute examples. -->
You can’t perform that action at this time.