A few weeks ago we released our API. Since then there has been a bit of confusion regarding whether you should use the Datafeedr Factory (http://www.datafeedr.com) or the Datafeedr API (https://v4.datafeedr.com) when building your store. I’d like to clear up that confusion in this post.
The API is not the next version of Datafeedr, despite “v4” appearing in the URL. The API is another way to build your store, not the new way.
A brief overview of the Factory and the API
The Datafeedr Factory allows users to search our product database, organize products returned from your searches into categories, and then import your products and categories (ie. your store) into your WordPress blog using the Datafeedr plugin. The plugin displays the products on your blog in a nice layout. You do not need to write any code in order to use the Datafeedr Factory and plugin.
The Datafeedr API (Application Programming Interface) allows users to query our product database programmatically (ie. by writing programming code). Each query is referred to as an API Request, a request made to the API which returns products as an array. The API does not handle anything other than allowing you to query the database and returning products. It does not insert products into your database or display them on your website. This functionality must be handled separately by a developer.
Should I use the API?
There are 2 reasons why you might choose the API over using the Factory:
- You are a developer – If you are a developer/programmer and want access to the product database but want to have control over what you do with the product data (ex. import into custom database, integrate into a mobile app, etc…) then the API is right for you.
- You want to use a third party integration – You don’t have to be a developer in order to use the API. We’ve partnered with other developers who have done the work for you. If you want to use a plugin or script that another developer has created (which connects to the Datafeedr API), then you’ll need the Datafeedr API. In most cases you’ll simply need your API Access ID and Secret Key (provided to you after you sign up for the API) to input into the integration software you have chosen. You can find all current integrations here: https://v4.datafeedr.com/integrations
Those 2 reasons don’t apply to me
If neither of the above 2 reasons apply to you, then the Datafeedr Factory is your best choice. The Datafeedr Factory makes it easy to create a beautiful store which seamlessly integrates with your WordPress blog. No programming required!
I hope this helps clear up any confusion about the choice between the Factory and the API. If you have any questions, please comment below.