Skip Navigation

[Closed] External API

This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 2 years, 5 months ago.

Author
Posts
#2518439

Tell us what you are trying to do?
Are we able to create an API that allows a parter to connect and pull records from a certain post type within our site? So for example we share a specific post to an outside parter that has another site and provide API credentials so not everyone can pull the data. So say timeshare listings for example as a post site that are available. We want to allow them to connect and pull post data from our site and publish it to their site.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
Not one that I know of

What is the link to your site?
The site is under development: hidden link

#2518767

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi there

That's not really something that Toolset can help you with.

Part of Toolset makes it easier to create custom content types (e.g. to create custom post types and then associate custom fields and taxonomies with that post type), but such data itself is just the same as standard WordPress data (Toolset provides a user-friendly UI for setting up the data, but the storage is the same as if you registered the data types programmatically with WordPress).

So an API for external access to your "Toolset" data is essentially just asking about an API for external access to your WordPress data.

WordPress, of course, has the REST API which may help meet your needs (and it can make data created with Toolset available).

So I suggest you start by looking into whether the WordPress REST API is suitable for your project, and then if you have some specific questions about outputting Toolset content via the REST API you can ask again.

See https://developer.wordpress.org/rest-api/

The topic ‘[Closed] External API’ is closed to new replies.