
Commit API
Instructions for using the Commit Database List API
New Commits
Embed this code on your website to allow visitors to submit commitments directly to ConnectLAX.
<iframe style="border: 0px; width: 100%; height: 100%; min-height: 500px;" src="https://www.connectlax.com/commit?embed=1">
</iframe>
Displaying Existing Commits
The main format of the commit database list embed is
<iframe style="border: 0px; width: 100%; height: 100%; min-height: 500px;" src="https://www.connectlax.com/collegeteam/all_commits?embed=1&gender=m">
</iframe>
There are different options for the embed URL though. In this example:
https://www.connectlax.com/collegeteam/all_commits?embed=1&gender=m&filters=1
The &gender=m
means "show Men's commits"
The &filters=1
means "Show the list of filters at the top so people browsing the site can choose their own grad year / search for a college"
Full list of options
Gender
&gender=m
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&gender=f
Grad Year
&year=2022
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&year=2022
Only X Most Recent
&limit=3
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&limit=3
Show Only Specific College
&collegeteam_id=1000
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&collegeteam_id=1000
Only show Verified Commits
&verified=1
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&verified=1
Show All Filters
&filters=1
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&filters=1
Show College Filter
&collegefilter=1
eg.
https://www.connectlax.com/collegeteam/all_commits?embed=1&collegefilter=1
These options can be mixed-and-matched. For example, to show the latest 3 verified men's 2020 commits:
https://www.connectlax.com/collegeteam/all_commits?embed=1&gender=m&year=2020&limit=3&verified=1