API to work with Unity3d

Hi
I need to create a communication link between my website and Unity3d. My plan is build a questionnaire on my website which will determine a list of player settings/preferences/URLs to videos etc for a given user. These will be used by my Unity3d app to personalise the experience. I will also want to send data back to the API to update my database

Can i do this with Corvid? If so, can you suggest some tutorials assuming I am a beginner. I don’t know where to start

thanks

The Corvid Resources page provides tutorials, examples, and articles on getting the most out of Corvid. Google and the other search engines are your friends. And of course, as questions or difficulties arise, we are here to help.

thanks I had a look but before I embark on a steep learning curve I want to make sure that I can do this. I was hoping I might get some advice. If it can be done then I will start learning.

This is a proprietary system and I don’t want to go down a rabbit hole only to find I can’t achieve my goals

thanks

You will need to read about how to access 3rd party services in the article Corvid: How to Access 3rd-Party Services with the Fetch API . Wix does not provide support for the external services, so you will have to consult with the service provider regarding any interface issue.

Here are some examples that interface with external APIs:

Expose and Access Site APIs
Use MyApi and MyApiClient to expose and access external APIs.

Send Email with SendGrid REST Interface
Send an email using the SendGrid REST API.

Stripe Payment Processing
Integrate the Stripe Payment processing system into a site. Three levels of user access are demonstrated: visitor, freemium (registered), and premium (paid).

Using the Places API from Google Map Services
Demonstrates geolocation queries using the Google Maps Places API web services. The queries are performed in backend (server-side) web modules.

sorry but that isn’t my question - i want to CREATE an API; not access a 3rd party one.

Then seen this example:

Expose and Access Site APIs
Use MyApi and MyApiClient to expose and access external APIs.

To carry on with Yisrael’s comments, you can also look at using Wix HTTP Functions.
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions
https://www.wix.com/corvid/reference/wix-http-functions.html

As Yisrael has shown in his links already provided, you don’t actually need to create an API yourself as Wix can expose your site for you to use with external API.

As for working with the Unity3d API, you can find lots of info on that online already.
https://docs.unity3d.com/Manual/OfflineDocumentation.html
https://docs.unity3d.com/ScriptReference/

API Requests through Unity , WWW class - Unity 3D [Tutorial]
Consuming RESTful web services in Unity3d and learn how to use the Unity Engine Networking API

Finally, as you state that you are a beginner, then for a more complex task like this, you might be worthwhile going through the Wix Arena and seeing if you can find somebody suitable to your needs. Wix Arena