Skip to content

Instantly share code, notes, and snippets.

CrowdfundHQ crowdfundhq

Block or report user

Report or block crowdfundhq

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
crowdfundhq / api_usage.html
Last active Oct 26, 2016
An example of how to use the CrowdfundHQ API from within your site
View api_usage.html
// Enable 'Sessions enabled' in Manage Site > Configuration > Settings > API
// Then use this script in Manage Site > Design > Pages or Scripts to fetch users
document.addEventListener('DOMContentLoaded', function(){
// Define variables
var url = '/api/v1/user/list', result, list, user;
// Do ajax call using hq.js
hq.ajax(url, {
success: function(json) {
You can’t perform that action at this time.