Factual Developer Wiki
Welcome to the Factual Developer Wiki, your guide to the various API options to access Factual data. Now let's get started.
Which API is Right for my Application?
There are two methods for incorporating Factual data in you application - Server API and Visualization. There are benefits and restrictions to each, so make sure you read through this before heading down one path.
Server API
Your server calls the Factual dataset through a RESTful API call and you get full control of data presentation. These operators are functional through the Server API:
This seems like a lot, but there are a few things that you can't do with the Server API - at least for now.
- Access vote-level data - on a given record or fact we don't expose the how many users voted one way compared to another.
- Search - you can apply filters across multiple fields, but you can't use advance operators.
- Autocomplete - sort of related to search, but we can't give you all the terms dataset to autocomplete a query.
Since you don't have access to the vote-level data, you can't build an explorer for a record or fact. There is a reasonable workaround where you can take JavaScript code for the explorer. Think of this as sort of a hybrid model. We are working on how and where to best expose this code, but if you need it just ping us through the Factual Developer Group.
Visualization
Visualizations are JavaScript code that you embed in the client-side code of your site. Think of is as code to easily inject Factual's structured data into the DOM. Each visualization is completely customizable and you can apply your CSS. Basically these will work if your application is browser-based.
If the Visualizations provided by Factual don't work for your use case or you want to provide Visualizations for everyone to use, we've exposed the Factual JSAPI. Here you can get enough access to build your own Visualizations and add them to the ecosystem. If you are interested in getting access to the JSAPI please let us know through the Factual Developer Group.
Additional Resources
Get Factual API Key
Manage your Factual API Keys
Factual Sample Code on Github
Factual Developer FAQs
Factual Extraction Tools
If there is something you'd like to see here ping us through the Factual Developer Group.
Keeping in the Loop
Follow Factual on Twitter
Interesting Sample Data Sets
These are some data sets that we're seeing good developer usage on and we wanted to make sure you were aware of them.
Sample Factual API Implementations
http://www.kosmix.com/topic/Lebron_James/overview/factual_basketball
http://www.eaterysearch.com
http://www.scriptbutter.com/index.php
Developer Internships at Factual
We're looking for a few engineering interns to work on interesting projects at Factual.
If you love data and challenges get in touch with us: Factual Developer Internships