Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 1.52 KB
---
layout: default
navPage: docs
heading: API
breadcrumbs:
- API
next: Finalized Submissions,/api/finalized/
versions: FT2
page_type: introduction
categories: api
tags: developer
---
{% include open_section.html nav='nav_api_versions.html' selected='api' nav_width=3 %}
<div class="alert alert-info">
<a href="https://github.com/formtools/api/releases/" class="btn btn-primary">Download</a>
The API releases are all found on github.
</div>
<p>
The goal of the API is to provide communication between Form Tools and the outside world. It contains
functionality for tasks such as submitting form submissions via PHP code rather than POSTing in the information
to process.php, accessing and display Form Tools data in your own webpages, managing client accounts
through code rather than the Form Tools interface and other such helpful functionality.
</p>
<p>
The Form Tools API files should be placed in your <strong>[form tools root]/global/api/</strong> folder.
</p>
<a name="api_versions"></a>
<p><b>API v1.x vs API v2.x</b></p>
<p>
Form Tools 3 was a complete rewrite of the application, changing the codebase from functional code to
object-oriented. The API v2.x was updated for Form Tools 3 compatibility, converting the API into a class.
</p>
<p>
In terms of functionality, v1.x and v2.0.0 of the API are identical: they (currently) provide the same methods.
<i>What's changed has the way you call the API methods</i>.
</p>
{% include close_section.html %}