🎉 NEW Add-ons: Marketing Campaign Tracking, Conflicting Schedules, Calendar+ Grid View, and Calendar+ List View!

Event Espresso

[object Object]-flag-image
家
➔
➔
Rest-api-now-in-ee4-core

EE4 Core での REST API

Event Espresso 4 Core プラグインに REST API を追加しました。 WordPressイベントのお客様のための素晴らしい統合の開発を開始します。

投稿者 Seth Shoultes  


イベント REST APIイベント 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.

しかし、WRITEエンドポイントを完成させるためにはまだまだ多くの作業があります。 WRITE エンドポイントが完了したら、 開発者は、REST APIを使用してイベントウェブサイトと直接接続してデータベースに直接更新することができます。 チェックイン参加者、イベントの作成/更新、チケット、参加者など。

開発者の方はここから始めましょう: http://developer.eventespresso.com/docs/ee4-rest-api-introduction/

記事の概要

  • APIとは?
  • REST API とは?
  • これはイベントEspressoで働くすべての人に影響します
  • EE4 REST API はどのように使用されますか?
  • 開発者のための情報

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.

APIの良い例は次のとおりです。

  1. アプリはいつでも、その位置情報を表示するためにGoogleマップを使用します。
  2. モバイルまたはデスクトップtwitterクライアント。
  3. ログイン、メッセージなどのFacebookの機能を統合したゲーム/サービス。

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. これにより、オープンなコラボレーションがセキュリティと手を携えて歩くことができます。

REST API とは?

REST or REpresentational State Transfer is an architecture style of building APIs; コード言語でも関数の説明でもありません REST API は、プロデューサー(例: Twitter)とコンシューマー(例: Twitter クライアント)との間の軽量なコミュニケーション(帯域幅の小さい)を提供するように設計されています。 Facebook、Google Apps、Twitter、WordPressなどの大量のWebサービスのための信頼性の高いソリューションとなり、今やEvent Espresso。

この場合、あなたはコンテンツ(イベント情報とイベントデータ)のプロデューサーです。 そして、ビルドするアプリケーションは、 Event Espresso 4 REST API を介してそのデータを消費または使用できます。

これはイベントEspressoで働くすべての人に影響します

EE4 REST APIは、Event Espressoとやり取りするシンプルで強力な方法です。 EE4 REST APIは、ユーザーが容易に見ることはできませんが、時間の経過とともに、よりインタラクティブなEvent Espressoウェブサイトの利点が得られます。 WRITEエンドポイントモバイルを展開すると、 デスクトップアプリケーションとWebアプリケーションは、 Event Espressoからデータを取得し、管理者パネルを介してできることは何でも行うことができます。 管理者パネル、ユーザーインターフェイス(UI)を除いたようなものです。

EE4 REST APIをコア機能として利用できるようになったことは、開発者が似たようなものを作成するのにかかる時間を短縮することを意味します。 機能やカスタムアプリケーションの作成にかかる時間が増えました

EE4 REST API はどのように使用されますか?

Core の Event Espresso 4 (EE4) REST API は、クライアント側のアプリケーションを許可することを目的としています。 また、さまざまなサーバー上のアプリが、WordPress Plugin Event Espressoと対話できるようになります。 バージョン4.8.29以降のEvent Espressoに含まれており、バージョン4.4以降はWordPressに含まれている WP REST API上で構築されています。

EE4 REST API は、以下のようなさまざまな方法で使用できます。

  • カスタム モバイル アプリ
  • カスタム管理者インターフェイス
  • 他のアプリケーション・プラットフォームとイベントを統合する
  • 多くの異なるプログラミング言語との相互運用性を提供します
  • そしてもっと!

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.

開発者のための情報

REST APIがEvent Espresso 4 Coreに追加されましたので、お客様のための優れた統合の開発を開始できます。 ドキュメント を確認し、 何か素晴らしいものを作り始めましょう!

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.

EE4 REST APIを使用して何か素晴らしいものを構築する場合は、 サードパーティのアドオンページ に掲載することを検討してください。

問題の報告

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

WordPressプラグインを構築する? EE4データベースモデルの代わりに使用する

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. developer.eventespresso.com をご覧ください。

 Event Espresso 4 modern REST APIをお楽しみいただき、ご意見をお聞かせください。

Event Espresso

米国をフォロー

商品

コア機能アドオン機能