Support

Home Forums Event Espresso Premium EE4 HD Android App connection Problem

EE4 HD Android App connection Problem

Posted: April 5, 2016 at 4:14 pm


ceo@bargo.com.na

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:
“Unable to login. Check web connection or endpoint URL.”

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.


ceo@bargo.com.na

April 5, 2016 at 4:19 pm

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?


Tony

  • Support Staff

April 6, 2016 at 3:25 am

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/


ceo@bargo.com.na

April 6, 2016 at 4:16 am

Okay, what If I were to develop my own app:

1.) Is the EE API plugin compatible with EE4?
2.) Is this API able to accept both read and write commands to event espresso 4 core via the API?
3.) Could you please provide me with a list of documentation with regards to API for EE4 specifically?

thank you so much


Tony

  • Support Staff

April 6, 2016 at 4:32 am

1.) Is the EE API plugin compatible with EE4?

EE4 has a REST API within core:

https://eventespresso.com/2016/01/rest-api-now-in-ee4-core/

2.) Is this API able to accept both read and write commands to event espresso 4 core via the API?

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.

3.) Could you please provide me with a list of documentation with regards to API for EE4 specifically?

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


ceo@bargo.com.na

April 6, 2016 at 4:42 am

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?


Tony

  • Support Staff

April 6, 2016 at 4:49 am

Theres a specific endpoint for check-in/out:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/C–REST-API/ee4-rest-api-rpc-checkin.md

So yes it requires writing to the database, but that does not mean we support writing within other sections of the api.


ceo@bargo.com.na

April 6, 2016 at 5:03 am

Your answers have been both prompt and extremely helpful.

Thank you so much!


Tony

  • Support Staff

April 6, 2016 at 5:15 am

You’re most welcome 🙂


ceo@bargo.com.na

April 6, 2016 at 5:54 am

So does this mean:

1.) that the plugin “Event Espresso – REST API (EE4.6.32+)” is unnecessary to install?
2.) That I ONLY need to have the plugin called “WP REST API” installed?


Tony

  • Support Staff

April 6, 2016 at 12:28 pm

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.

2.) That I ONLY need to have the plugin called “WP REST API” installed?

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.

Event Espresso