Posted: April 5, 2016 at 4:14 pm
|
I have followed every bit of material on your website around this issue, but the android app is still unable to connect to my website. When I try and connect to my site using the event espresso android app, I get the following errror message: However, when I use the following link to test whether the API is running (as directed by the plugin) it seems to work fine: http://dev-server.bargotickets.com/wp-json/ee/v4.6/events I have submitted temporary administrator login details via your “Send Login details” form. |
|
Since I did not know who would respond to this query first, I randomly selected Tony as the person requesting the credentials. Just a side question: Are end point URLs the most secure method to communicated via the API to EE? Or is EE able to commuciate via a more secure method? Could you direct me to documentation that I can read to this effect? for example, Oauth methods.etc? |
Hi there, The EE3 Ticketing Apps are not compatible with EE4. EE4 does not currently have ticketing apps available, they are currently under development: https://eventespresso.com/2016/02/development-started-on-event-espresso-4-mobile-ticketing-apps/ At this time you can use barcode scanning apps that pass the value to the browser and use the EE4 Ticket Scanning add-on, for example of this view here: https://eventespresso.com/wiki/how-to-use-a-mobile-device-to-scan-ee4-tickets/ |
|
|
Okay, what If I were to develop my own app: 1.) Is the EE API plugin compatible with EE4? thank you so much |
EE4 has a REST API within core: https://eventespresso.com/2016/01/rest-api-now-in-ee4-core/
No, currently the API allows you to read all of the EE data, but not write although you can ‘check-in’ users through the API.
The documentation is available through the link in #1, but you can also use: https://github.com/eventespresso/event-espresso-core/tree/master/docs/C–REST-API |
|
|
Thank you so much for your prompt responses. Please advise how we are able to “check-in” users if one is not able to write data? Doesnt checkin in require writing to the database to let the system know that a ticket has been checked in? |
Theres a specific endpoint for check-in/out: So yes it requires writing to the database, but that does not mean we support writing within other sections of the api. |
|
|
Your answers have been both prompt and extremely helpful. Thank you so much! |
You’re most welcome 🙂 |
|
|
So does this mean: 1.) that the plugin “Event Espresso – REST API (EE4.6.32+)” is unnecessary to install? |
You do not need that installed, that is now built into Event Espresso core.
If you are on WP 4.4+ you don’t need any additional plugins, the EE endpoints will work without them. The WP api core Endpoints will not, but EE will work fine. With Event Espresso and WP 4.4 you can navigate to /wp-json/ to see an index of all enpoints. So currently you can use /wp-json/ee/v4.8.36/events/ to get a list of events for example. Also, that’s v1 of the REST API plugin, if you want to install the REST plugin for core you’ll want v2: https://wordpress.org/plugins/rest-api/ |
|
The support post ‘EE4 HD Android App connection Problem’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.