Archive for the ‘API’ Category

API WRITE Endpoints are Now Available in Event Espresso 4 Core

Last week was a great week for the Event Espresso REST API – we have just released new API WRITE endpoints with create, update and delete functionality. The new WRITE endpoints make it easier to create new features and integrate with third-party services and applications.

Event Espresso 4 - API WRITE Endpoints

Easier to Create New Features

With WRITE endpoints in the Event Espresso 4 REST API, developers will find it much easier to create innovative new features for Event Espresso. In fact, we are already starting development of recurring events, and are close to releasing a beta version of the Waiting List Manager. Both of these add-ons wouldn’t be possible without the REST API.

Opening Doors to Innovation and Integration with Third-Party Services

The WRITE endpoints of the API open the door to integration’s with many third-party services. For example, developers can create software running anywhere, in any language, to create events, registrations, and transactions via the REST API, instead of being limited to only doing so from the WordPress admin or a custom plugin. With READ endpoints you can sync data from Event Espresso to other applications, but now with WRITE endpoints you can sync data from other applications TO Event Espresso.

(more…)

Posted in Development, API, EE4, Developers | No Comments »

Development Started on Event Espresso 4 Mobile Ticketing Apps

We are pleased to announce that development has started on the Event Espresso 4 mobile ticketing apps for Android and Apple mobile devices.

mobile ticketing apps

Mobile App Mockups

About the Event Espresso 4 Mobile Apps

Here’s what you can expect from the new mobile apps:

  • Feature parity with Event Espresso 3 mobile apps
    For the initial release, we are only working on feature parity with the Event Espresso 3 version of the mobile apps. Such as viewing events, registrations, and checking-in/out attendees from the mobile apps.
  • The apps will be free
    We care about your ticketing needs and want to make your lives better. You’ll be able to do check-in/out attendees, and those who use the Ticketing add-on will be able to scan tickets too.

Timeline?
The plan right now is to get the apps built, tested and release ASAP. If everything goes as planned, we can expect the development to take around 10 to 12 weeks.

What functions will the apps perform?
Event Espresso users will be able to check-in/out attendees and scan tickets using mobile devices, such as iPhones, iPads, and Android phones and tablets.

What about ____ feature?
We have a few ideas for features such as point-of-sale capabilities, etc, but these will have to come at a later date.

The team we’ve brought on to build the mobile apps has a lot of experience with building event related apps and we’re looking forward to working with them to add more great features in the future.

Tell us what you need/want?
Have some ideas you want to see the in Event Espresso mobiles apps? Let us know in the comments below.

Tags: , ,
Posted in Development, API, EE4 | 28 Comments »

REST API Now In EE4 Core

Events REST API

Events REST API

It’s official, now that the WordPress REST API (WP-API) has been rolled into WordPress core, we’ve added our own REST API  into the Event Espresso 4 (EE4) core plugin.

Since we already have the READ endpoints available in a plugin version of the EE4 REST API, on January 4th, 2016 we released an update (version 4.8.29) with the READ REST API endpoints in EE4 core.

However, we still have more work to do to get the WRITE endpoints done. Once the WRITE endpoints are completed, developer’s will have the ability to directly interface with your event website using the REST API to make updates directly to the database, such as checking-in attendees, creating/updating events, tickets, and attendees.

What Is An API?

In layman’s terms, an API or Application Programming Interface is an agreed set of standardized ways that a particular piece of software can be used; the rules defined for its interaction with the wider world, which govern how other pieces of software can talk to a program and how it will respond.

A few good examples of APIs in action would be:

  1. Anytime an app uses Google Maps to display its location information.
  2. A mobile or desktop twitter client.
  3. A game/service that integrates Facebook features such as login, messaging, etc.

In these instances, and all others like them, the APIs “expose” certain internal functions of the primary applications (Google Maps, Twitter, etc) so that outside developers can use them in their own applications or websites. In these examples, app developers have been given the ability to tap into the powerful features (and/or content) of major web services so that they can build on top of them and/or integrate key content and features into their own products, in clearly defined ways. This allows open collaboration to walk hand in hand with security.

What Is A REST API?

REST or REpresentational State Transfer is an architectural style of building APIs; not a code language or description of its function. A REST API is designed to provide a lightweight form of communication (less bandwidth) between a producer (ex: Twitter) and a consumer (ex: Twitter client), making it a reliable solution for high volume web services like Facebook, Google Apps, Twitter, WordPress, and now Event Espresso.

In this case, you are the producer of content (event information and event data), and the applications you build can consume or use that data through the Event Espresso 4 REST API.

This Will Affect Everyone Who Works With Event Espresso

The EE4 REST API is a simple but powerful way to interact with Event Espresso. Even though the EE4 REST API is not readily visible to users, over time user’s will experience the benefits of more interactive Event Espresso websites. Once we roll out the WRITE endpoints Mobile, desktop and web applications can get data from Event Espresso and do anything you can do via the admin panel. It’s like the admin panel, minus the user interface (UI).

The availability of the EE4 REST API as a core feature also means less time spent by developers creating something similar, and more time spent creating features and custom applications.

How Will The EE4 REST API Be Used?

The Event Espresso 4 (EE4) REST API in Core is intended to allow client-side applications, and apps on different servers, to be able to interact with the WordPress Plugin Event Espresso. It is included in Event Espresso since version 4.8.29, and is built on the WP REST API included in WordPress since version 4.4.

The EE4 REST API can, and will be used in a multitude of different ways, such as:

  • Custom mobile apps
  • Custom admin interfaces
  • Integrating your events with other application platforms
  • Provide interoperability with many different programming languages
  • and much more!

By providing an agreed, standardized programmatic interface between Event Espresso and the outside world, Event Espresso opens itself up to every other application and development environment on earth.

Information for Developers

Now that the REST API is in Event Espresso 4 Core, you can start developing great integration’s for your customers. All you need to get started is review the documentation and start building something GREAT!

Also you should stay tuned to our developer-specific blog at developer.eventespresso.com so you’ll know about any important changes regarding backwards compatibility or other developments.

And if you do build something great with the EE4 REST API, consider listing it on our 3rd party addons page.

Reporting Issues

If you have an REST API feature request, or bug to report, please let us know on our github repo.

Building a WordPress Plugin? Use the EE4 Database Models Instead

If you are building a WordPress plugin that will use Event Espresso 4 data server-side (in the PHP code), generally you do not need to use the API, and can instead use Event Espresso 4’s database models, config, and other modules directly. Check out developer.eventespresso.com for tutorials on how to use many of these systems.

We hope you enjoy using the Event Espresso 4 modern REST API, let us know what you think.

Tags: ,
Posted in News, Development, New Versions, API, EE4 | 1 Comment »

Event Espresso 4 REST API Add-on Now Available

Earlier this year we announced we started work on the EE4 REST API addon. Well its ready-for-use and now bundled with Event Espresso 4 core!

We’ve reached the first milestone which provides read access to all EE4 data. That means you can build client-side Javascript code, mobile apps, and programs  in any language (and on any server) that can read data used in Event Espresso 4.

So what’s great about the EE4 REST API and what can you do with it? Here’s a start:

  • Unlike its predecessor, the EE3 JSON API, this addon is compatible with Event Espresso 4 (not Event Espresso 3)
  • It’s built using the WordPress REST API (aka WP API). That means many plugins that work with the WP API work with it too. WP API gives the EE4 REST API a solid foundation by handling authentication, providing endpoint discovery, and supplying lots of the “behind-the-scenes” code.
  • It provides read access to all Event Espresso 4 data: events, tickets, datetimes, registrations, custom questions and answers, payment methods, and configuration data. Even Event Espresso 4 addons’ data, like from the Mailchimp Addon or the People Addon, is available by default. If we’ve missed something tell us in the github issue tracker!
  • It uses Event Espresso’s models system for querying the database. This gives API clients nearly as much querying abilities as server-side plugins. Here are some of the crazier queries we thought of: (more…)

Posted in Home Page, Addons, Open Source, API, EE4, Developers | 8 Comments »

JSON API Plugin Now Available

Event Espresso API`

The new Event Espresso API addon allows other applications (other websites, mobile apps, etc) to access your Event Espresso data through an application programming interface (API).

What kind of really useful stuff can I build?

Using the Event Espresso API, you can get information on all events and attendees, and even check attendees in and out of events. Supposing you have WordPress installed and active on mysite.com, once this addon is activated you can send an HTTP GET request to http://mysite.com/espresso-api/v1/events/public to retrieve all the event information from your site in JSON or XML format, which your client application can then use and display however you like. You can access and work with most of the Event Espresso admin features, allowing you to create solutions based on your needs. The API enables developers to build innovative and engaging applications that can interface with any website that uses the Event Espresso plugin for events, classes, meetings, scrapbook conventions, concert ticketing, including:

  • Mobile applications (e.g. Event Espresso mobile apps)
  • Custom onsite and offsite calendar integrations
  • Custom event lists with role based (public/private) access to event data
  • Custom website app integrations
  • Role-based access to attendee data
  • Cached database queries
  • Offsite registration forms (coming soon)
  • Ability to create customized analytics

Is the API supported?

Yes, Event Espresso customers have access to our Restful API Codex and support in the support forums. The API is compatible with Event Espresso version 3.1 and 3.2 (coming soon).

How does it work?

The Event Espresso API gives developers a complete API platform for directly accessing data event and attendee data securely and efficiently from outside your web server. All a developer needs to know about is the API Endpoint URL for your site. Example: http://eventespresso.com/testdrive/espresso-api/v1/events/public.pretty_json

How do I get access to the addon?

Anyone with a current Event Espresso Business or Developer Support License or Ticketing addon can download this addon for use on their site, from within their profile/account page.

Is this a replacement for the Espresso Services API?

Yes and No. The current versions of both the Event Espresso iPhone and Android mobile apps CANNOT be used with this API. However, you should have no problems running both API’s side by side. We are working on switching over the iPhone app to the new API as soon as possible. We are also actively looking for someone to help us switch the Android app to the new API. The new Event Espresso iPad app will be available soon.

Why did you create this addon?

We are hoping the addition of this addon will drive developer adoption around for Event Espresso plugin and our community of dedicated users.

Tags: , , , , ,
Posted in Addons, Ticketing, Development, API | 4 Comments »

Do NOT follow this link or you will be banned from the site!